just saving my changes as I go. These do not work yet....
[Samba.git] / docs / docbook / Makefile.in
blobade86851da55b59e8f06f53429029314d199a4f4
1 #################################################################
2 # Makefile.in for Samba Documentation
3 # Authors: James Moore <jmoore@php.net>
4 # Gerald Carter <jerry@samba.org>
6 # Please see http://www.samba.org/samba/cvs.html
7 # for information on getting the latest
8 # source and doucmentation source files.
11 # Autoconf Variables
12 SRCDIR = @srcdir@
13 JADE = @JADE@
14 NSGMLS = @NSGMLS@
15 ONSGMLS=@ONSGMLS@
16 SGMLSPL=@SGMLSPL@
17 #CATALOG = @CATALOG@
19 #Stylesheets and Dependicies
20 SGML_SHARE=/usr/local/share/sgml
21 HTML_STYLESHEET = $(srcdir)/stylesheets/html.dsl
22 HTML_DEPS = $(srcdir)/stylesheets/html-common.dsl $(srcdir)/stylesheets/common.dsl
24 MANPAGES=manpages/findsmb.1.sgml manpages/smbclient.1.sgml \
25 manpages/smbspool.8.sgml manpages/lmhosts.5.sgml \
26 manpages/smbcontrol.1.sgml manpages/smbstatus.1.sgml \
27 manpages/make_smbcodepage.1.sgml manpages/smbd.8.sgml \
28 manpages/smbtar.1.sgml manpages/nmbd.8.sgml manpages/smbmnt.8.sgml \
29 manpages/smbumount.8.sgml manpages/nmblookup.1.sgml \
30 manpages/smbmount.8.sgml manpages/swat.8.sgml manpages/rpcclient.1.sgml \
31 manpages/smbpasswd.5.sgml manpages/testparm.1.sgml manpages/samba.7.sgml \
32 manpages/smbpasswd.8.sgml manpages/testprns.1.sgml \
33 manpages/smb.conf.5.sgml manpages/smbrun.1.sgml manpages/wbinfo.1.sgml \
34 manpages/smbcacls.1.sgml manpages/smbsh.1.sgml manpages/winbindd.8.sgml
36 #Make instructions
37 #all: html man pdf text
38 all: man
40 man: $(MANPAGES)
41 @echo Building $< man page
42 @$(ONSGMLS) $< | $(SGMLSPL) $(SGML_SHARE)/docbook2X/docbook2man-spec.pl
46 #Dependencies
47 html.dsl: stylesheets/html.dsl.in ./config.status
48 CONFIG_FILES=$@ CONFIG_HEADERS=./config.status
50 common.dsl: stylesheets/common.dsl.in ./config.status
51 CONFIG_FILES=$@ CONFIG_HEADERS=./config.status
53 #Make Rule Aliases
54 samba-pdc-faq: samba-pdc-faq.html samba-pdc-faq.txt
55 samba-pdc-faq.html: faq/samba-pdc-faq.html
56 samba-pdc-faq.txt: faq/samba-pdc-faq.txt
59 faq/samba-pdc-faq.html: $(srcdir)/faq/samba-pdc-faq.sgml $(HTML_DEPS)
60 @test -d docs || mkdir docs
61 @test -d docs/faq || mkdir docs/faq
62 $(JADE) $(CATALOG) -d $(HTML_STYLESHEET) -V use-output-dir -t sgml $(srcdir)/faq/samba-pdc-faq.sgml
64 faq/faq.txt: samba-pdc-faq.html
65 lynx -nolist -dump file:`pwd`/docs/faq/samba-pdc-faq.html > `pwd`/docs/faq/samba-pdc-faq.txt
67 #Clean Rule
68 clean:
70 cd $(srcdir) \
71 rm -rf docs