summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-02-28 18:35:51 +0000
committerGerald Carter <jerry@samba.org>2001-02-28 18:35:51 +0000
commitc71e99556b32c5932ccd3b599f4402679828ef21 (patch)
treeb7d9daba4b5ae7e08ed5abdb5fa545bdb2d91c2a
parenta8ec2901d42f4a3a69b0a5aac9f9d5906e2017c2 (diff)
downloadsamba-c71e99556b32c5932ccd3b599f4402679828ef21.tar.gz
samba-c71e99556b32c5932ccd3b599f4402679828ef21.tar.xz
samba-c71e99556b32c5932ccd3b599f4402679828ef21.zip
updated Makefile to generate howto's and the FAQ
-rw-r--r--docs/docbook/Makefile.in28
1 files changed, 25 insertions, 3 deletions
diff --git a/docs/docbook/Makefile.in b/docs/docbook/Makefile.in
index 39555d4057f..d0a78355f42 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"`; \