1
0
Fork 0
mirror of https://gitlab.easter-eggs.com/ee/ldapsaisie.git synced 2024-12-26 10:23:47 +01:00
ldapsaisie/doc/exports/html/Makefile

30 lines
916 B
Makefile

DOCBOOK_FILE=../../LdapSaisie.docbook
XSL_FILE=../../styles/LS.xsl
XSL_MULTI_FILE=../../styles/LS-multi.xsl
XSL_HELP_FILE=../../styles/LS-help.xsl
XSL_DEBIAN_FILE=../../styles/LS-debian.xsl
XSLTPROC=xsltproc
all: html
html: all-in-one/LdapSaisie.html online/index.html help/index.html
all-in-one/LdapSaisie.html: $(DOCBOOK_FILE)
$(XSLTPROC) --output all-in-one/LdapSaisie.html $(XSL_FILE) $(DOCBOOK_FILE)
online/index.html: $(DOCBOOK_FILE)
cd online; $(XSLTPROC) -stringparam chunker.output.indent yes \
../$(XSL_MULTI_FILE) ../$(DOCBOOK_FILE)
help/index.html: $(DOCBOOK_FILE)
cd help; $(XSLTPROC) ../$(XSL_HELP_FILE) ../$(DOCBOOK_FILE)
debian: debian/LdapSaisie.html
debian/LdapSaisie.html: $(DOCBOOK_FILE)
$(XSLTPROC) --output debian/LdapSaisie.html $(XSL_DEBIAN_FILE) $(DOCBOOK_FILE)
clean:
rm -f all-in-one/LdapSaisie.html online/* help/* debian/LdapSaisie.html