Added initial Debian packaging files
[ldapsaisie.git] / doc / exports / html / Makefile
1 DOCBOOK_FILE=../../LdapSaisie.docbook
2 XSL_FILE=../../styles/LS.xsl
3 XSL_MULTI_FILE=../../styles/LS-multi.xsl
4 XSL_HELP_FILE=../../styles/LS-help.xsl
5 XSL_DEBIAN_FILE=../../styles/LS-debian.xsl
6
7 XSLTPROC=xsltproc
8
9 all:            html
10
11 html:           all-in-one/LdapSaisie.html online/index.html help/index.html
12
13 all-in-one/LdapSaisie.html:             $(DOCBOOK_FILE)
14                                                 $(XSLTPROC) --output all-in-one/LdapSaisie.html $(XSL_FILE) $(DOCBOOK_FILE)
15
16 online/index.html:              $(DOCBOOK_FILE)
17                                                 cd online; $(XSLTPROC) -stringparam chunker.output.indent yes \
18                                                 ../$(XSL_MULTI_FILE)    ../$(DOCBOOK_FILE)
19
20 help/index.html:                $(DOCBOOK_FILE)
21                                                 cd help; $(XSLTPROC) ../$(XSL_HELP_FILE)        ../$(DOCBOOK_FILE)
22
23 debian: debian/LdapSaisie.html
24
25 debian/LdapSaisie.html:         $(DOCBOOK_FILE)
26                                                 $(XSLTPROC) --output debian/LdapSaisie.html $(XSL_DEBIAN_FILE) $(DOCBOOK_FILE)
27
28
29 clean:
30                                 rm -f all-in-one/LdapSaisie.html online/* help/* debian/LdapSaisie.html