svn commit: samba r17957 - in branches/SAMBA_4_0/source/lib/talloc: .

metze at samba.org metze at samba.org
Thu Aug 31 09:18:06 GMT 2006


Author: metze
Date: 2006-08-31 09:18:06 +0000 (Thu, 31 Aug 2006)
New Revision: 17957

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17957

Log:
don't try to use an internet connection when generating the manpage
and only install the manpage if we build it

metze
Modified:
   branches/SAMBA_4_0/source/lib/talloc/Makefile.in


Changeset:
Modified: branches/SAMBA_4_0/source/lib/talloc/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/talloc/Makefile.in	2006-08-31 08:22:13 UTC (rev 17956)
+++ branches/SAMBA_4_0/source/lib/talloc/Makefile.in	2006-08-31 09:18:06 UTC (rev 17957)
@@ -30,16 +30,16 @@
 	${INSTALLCMD} -d ${includedir}
 	${INSTALLCMD} -m 644 $(srcdir)/talloc.h $(includedir)
 	${INSTALLCMD} -m 644 talloc.pc $(libdir)/pkgconfig
-	${INSTALLCMD} -d ${mandir}/man3
-	test -z "$(XSLTPROC)" || ${INSTALLCMD} -m 644 talloc.3 $(mandir)/man3
+	test -f talloc.3 && ${INSTALLCMD} -d ${mandir}/man3
+	test -f talloc.3 && ${INSTALLCMD} -m 644 talloc.3 $(mandir)/man3
 
-doc: talloc.3
+doc: talloc.3 talloc.3.html
 
 .3.xml.3:
-	test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+	-test -z "$(XSLTPROC)" || $(XSLTPROC) --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
 
 .xml.html:
-	test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
+	-test -z "$(XSLTPROC)" || $(XSLTPROC) --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
 
 clean:
 	rm -f *~ *.o testsuite *.gc??



More information about the samba-cvs mailing list