From fd45e859aad9a4978afdff0478fc05d8290d75e7 Mon Sep 17 00:00:00 2001 From: dequis Date: Sun, 31 May 2015 20:50:08 -0300 Subject: Allow building docs from any directory Also just remove the .git check completely - just rely on make skipping it if it exists already. --- doc/user-guide/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/user-guide/Makefile') diff --git a/doc/user-guide/Makefile b/doc/user-guide/Makefile index 62107ab7..28dd56ec 100644 --- a/doc/user-guide/Makefile +++ b/doc/user-guide/Makefile @@ -30,8 +30,8 @@ help.xml: commands.xml %.db.xml: %.xml docbook.xsl xsltproc --xinclude --output $@ docbook.xsl $< -help.txt: help.xml help.xsl commands.xml misc.xml quickstart.xml - python genhelp.py $< $@ +help.txt: $(_SRCDIR_)help.xml $(_SRCDIR_)commands.xml $(_SRCDIR_)misc.xml $(_SRCDIR_)quickstart.xml + python $(_SRCDIR_)genhelp.py $< $@ clean: rm -f *.html *.pdf *.ps *.rtf *.txt *.db.xml -- cgit v1.2.3