[Box Backup-commit] COMMIT r2405 - box/trunk/docs

boxbackup-dev at boxbackup.org boxbackup-dev at boxbackup.org
Sat Dec 6 10:58:05 GMT 2008


Author: jamesog
Date: 2008-12-06 10:58:04 +0000 (Sat, 06 Dec 2008)
New Revision: 2405

Modified:
   box/trunk/docs/Makefile
Log:
 * Look for DocBook stylesheet under /opt/local (Darwin/Macports)
 * Make each man page depend on bb-man.xsl so that it is regenerated if necessary



Modified: box/trunk/docs/Makefile
===================================================================
--- box/trunk/docs/Makefile	2008-12-06 00:14:41 UTC (rev 2404)
+++ box/trunk/docs/Makefile	2008-12-06 10:58:04 UTC (rev 2405)
@@ -36,6 +36,8 @@
 $(MANXSL): $(MANXSL).tmpl
 	@if [ -f /usr/local/share/xsl/docbook/manpages/docbook.xsl ]; then \
 	   DOCBOOK=file:///usr/local/share/xsl/docbook/manpages/docbook.xsl; \
+	 elif [ -f /opt/local/share/xsl/docbook-xsl/manpages/docbook.xsl ]; then \
+	   DOCBOOK=file:///opt/local/share/xsl/docbook-xsl/manpages/docbook.xsl; \
 	 else \
 	   DOCBOOK=http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl; \
 	 fi; \
@@ -63,7 +65,7 @@
 	@$(DBPROC) -o $@ $(NOCHUNKBOOKXSL) $<
 	@cp $@ $(HTMLPREFIX)/man-html/.
 
-.xml.8 .xml.5:
+.xml.8 .xml.5: $(MANXSL)
 	@$(DBPROC) -o $@ $(MANXSL) $<
 	@cp $@ man/
 	@rm -f man/$@.gz




More information about the Boxbackup-commit mailing list