summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 00adbec)
raw | patch | inline | side by side (parent: 00adbec)
author | Jonas Fonseca <fonseca@diku.dk> | |
Sat, 21 Nov 2009 02:27:52 +0000 (21:27 -0500) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Sat, 21 Nov 2009 02:27:52 +0000 (21:27 -0500) |
INSTALL | patch | blob | history | |
Makefile | patch | blob | history |
index a79a3d5b0e6d2e500be8bff9d31e82d7b41ad6c6..c762a8a207b41019f0a8bfe6fed5e15208cde334 100644 (file)
--- a/INSTALL
+++ b/INSTALL
$ make
$ make install install-doc
-Optionally, you can use the `configure` script to detect library location:
+From tig's git repository it is also possible to install documentation directly
+from the release branch to avoid installing the documentation tool chain:
+
+ $ make install-release-doc
+
+Optionally, you can use the `configure` script to detect dependencies:
$ ./configure
$ make
|Tool |Description
|autoconf |Contains autoreconf for generating configure
from configure.ac.
-|asciidoc (>= 8.0) |Generates HTML and (DocBook) XML from text.
+|asciidoc (>= 8.4) |Generates HTML and (DocBook) XML from text.
|xmlto |Generates manpages and chunked HTML from XML.
|DocBook XSL (>= 1.72.0) |Used by xmlto for building manpages.
|DocBook (DSSL/Jade) tools |Generates PDF from XML.
diff --git a/Makefile b/Makefile
index 02d84dc0cd0420cb47448b9fa26668783f8db45a..85fe34567b779a5f6180cf9f55a0dbade7ceefb3 100644 (file)
--- a/Makefile
+++ b/Makefile
$(RM) "$$doc+"; \
done
+install-release-doc-man:
+ GIT_INDEX_FILE=.tmp-doc-index git read-tree release
+ GIT_INDEX_FILE=.tmp-doc-index git checkout-index -f --prefix=./ $(MANDOC)
+ rm -f .tmp-doc-index
+ $(MAKE) install-doc-man
+
install-doc-html: doc-html
mkdir -p $(DESTDIR)$(docdir)/tig
for doc in $(HTMLDOC); do \
$(RM) "$$doc+"; \
done
+install-release-doc-html:
+ GIT_INDEX_FILE=.tmp-doc-index git read-tree release
+ GIT_INDEX_FILE=.tmp-doc-index git checkout-index -f --prefix=./ $(HTMLDOC)
+ rm -f .tmp-doc-index
+ $(MAKE) install-doc-html
+
install-doc: install-doc-man install-doc-html
+install-release-doc: install-release-doc-man install-release-doc-html
clean:
$(RM) -r $(TARNAME) *.spec tig-*.tar.gz tig-*.tar.gz.md5