summaryrefslogtreecommitdiff
path: root/docs/docbook
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
commit276ea81fd3694027b76ff4d6b7436a87b7038cdc (patch)
tree9f50f27c7ff1fbad28cfa470637352cdf34837ad /docs/docbook
parent01c1f62d6717e02254adaaaad7780a413fbc2619 (diff)
downloadsamba-276ea81fd3694027b76ff4d6b7436a87b7038cdc.tar.gz
samba-276ea81fd3694027b76ff4d6b7436a87b7038cdc.tar.bz2
samba-276ea81fd3694027b76ff4d6b7436a87b7038cdc.zip
updated Makefile to generate howto's and the FAQ
(This used to be commit c71e99556b32c5932ccd3b599f4402679828ef21)
Diffstat (limited to 'docs/docbook')
-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 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"`; \