1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-13 08:23:49 +03:00

r17957: don't try to use an internet connection when generating the manpage

and only install the manpage if we build it

metze
This commit is contained in:
Stefan Metzmacher
2006-08-31 09:18:06 +00:00
committed by Gerald (Jerry) Carter
parent 3f3fa7f466
commit 23c6c7a27c

View File

@@ -30,16 +30,16 @@ install: all
${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??