Move the documentation-building options to the beginning of the
makefile for easier tweaking.

Signed-off-by: Jonathan Nieder <[email protected]>
---
 debian/rules |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/debian/rules b/debian/rules
index 9bf17e8..fdb2b85 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,7 @@ OPTS =NO_OPENSSL=1 prefix=/usr gitexecdir=/usr/lib/git-core \
   PYTHON_PATH=/usr/bin/python \
   THREADED_DELTA_SEARCH=1 NO_CROSS_DIRECTORY_HARDLINKS=1 \
   DEFAULT_PAGER=pager DEFAULT_EDITOR=editor
+DOC_OPTS =ASCIIDOC8=1 ASCIIDOC_NO_ROFF=1
 
 ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
   STRIP =: strip
@@ -66,7 +67,7 @@ ifeq (ia64,$(ARCH))
 endif
        touch build-arch-stamp
 build-indep-stamp:
-       $(MAKE) -CDocumentation man html ASCIIDOC8=YesPlease 
ASCIIDOC_NO_ROFF=Yes
+       $(MAKE) -CDocumentation man html $(DOC_OPTS)
        touch build-indep-stamp
 
 clean: deb-checkdir
-- 
1.7.0.rc0




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to