From 276ea81fd3694027b76ff4d6b7436a87b7038cdc Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 28 Feb 2001 18:35:51 +0000 Subject: updated Makefile to generate howto's and the FAQ (This used to be commit c71e99556b32c5932ccd3b599f4402679828ef21) --- docs/docbook/Makefile.in | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/docbook/Makefile.in b/docs/docbook/Makefile.in index 39555d4057..d0a78355f4 100644 --- a/docs/docbook/Makefile.in +++ b/docs/docbook/Makefile.in @@ -51,6 +51,10 @@ SGMLMANSRC=manpages/findsmb.1.sgml manpages/smbclient.1.sgml \ manpages/wbinfo.1.sgml manpages/smbcacls.1.sgml \ manpages/smbsh.1.sgml manpages/winbindd.8.sgml +HOWTOSRC=howto/DOMAIN_MEMBER.sgml howto/NT_Security.sgml howto/samba-pdc-howto.sgml +FAQSRC=faq/samba-pdc-faq.sgml + + ###################################################################### # Make instructions @@ -59,9 +63,27 @@ all: man man: $(MANPAGES) -faq: +FAQ: $(FAQSRC) + @echo Building SAMBA PDC FAQ... + @(for i in $?; do \ + htmlfile=`basename $$i | sed "s/\.sgml/\.html/g"`; \ + echo "Making $$htmlfile"; \ + $(JADE) -t sgml -V nochunks -d $(SGML_SHARE)/dsssl/docbook/html/docbook.dsl \ + -f /tmp/jade.log $$i > ../htmldocs/$$htmlfile; \ + cat /tmp/jade.log | grep -v DTDDECL; \ + /bin/rm -f /tmp/jade.log; \ + done) -howto: +HOWTO: $(HOWTOSRC) + @echo Building HOWTO pages... + @(for i in $?; do \ + htmlfile=`basename $$i | sed "s/\.sgml/\.html/g"`; \ + echo "Making $$htmlfile"; \ + $(JADE) -t sgml -V nochunks -d $(SGML_SHARE)/dsssl/docbook/html/docbook.dsl \ + -f /tmp/jade.log $$i > ../htmldocs/$$htmlfile; \ + cat /tmp/jade.log | grep -v DTDDECL; \ + /bin/rm -f /tmp/jade.log; \ + done) proj-doc: @(cd projdoc; $(JADE) -t sgml -V nochunks -d $(SGML_SHARE)/dsssl/docbook/html/docbook.dsl samba-doc.sgml > ../samba-doc.html) @@ -70,7 +92,7 @@ proj-doc: ## generate all HTML man pages -html-all: $(SGMLMANSRC) +man-html-all: $(SGMLMANSRC) @echo Building HTML formatted man pages... @(for i in $?; do \ htmlfile=`basename $$i | sed "s/\.sgml/\.html/g"`; \ -- cgit