Code

Fix install-release-doc make rules to use origin/release
authorJonas Fonseca <fonseca@diku.dk>
Sat, 21 Nov 2009 14:37:26 +0000 (09:37 -0500)
committerJonas Fonseca <fonseca@diku.dk>
Sat, 21 Nov 2009 14:37:26 +0000 (09:37 -0500)
Thanks to bill lam for spotting this.

Makefile

index 85fe34567b779a5f6180cf9f55a0dbade7ceefb3..ced5be310ee5a9f66f87e3b653b3cf4077930c43 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -86,7 +86,7 @@ install-doc-man: doc-man
        done
 
 install-release-doc-man:
-       GIT_INDEX_FILE=.tmp-doc-index git read-tree release
+       GIT_INDEX_FILE=.tmp-doc-index git read-tree origin/release
        GIT_INDEX_FILE=.tmp-doc-index git checkout-index -f --prefix=./ $(MANDOC)
        rm -f .tmp-doc-index
        $(MAKE) install-doc-man
@@ -102,7 +102,7 @@ install-doc-html: doc-html
        done
 
 install-release-doc-html:
-       GIT_INDEX_FILE=.tmp-doc-index git read-tree release
+       GIT_INDEX_FILE=.tmp-doc-index git read-tree origin/release
        GIT_INDEX_FILE=.tmp-doc-index git checkout-index -f --prefix=./ $(HTMLDOC)
        rm -f .tmp-doc-index
        $(MAKE) install-doc-html