This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
gi-psl/documentation/Makefile

28 lines
646 B
Makefile

PANDOC=pandoc
PANDOCFLAGS=--standalone --smart --toc -c pandoc.css
ALL=installation-base.pdf installation-base.html \
installation-ldap.pdf installation-ldap.html \
installation-ldapsaisie.pdf installation-ldapsaisie.html \
installation-idp.pdf installation-idp.html
all: $(ALL)
%.pdf: %.md
$(PANDOC) $(PANDOCFLAGS) --latex-engine=xelatex --variable lang=french $< -o $@
%.tex: %.md
$(PANDOC) $(PANDOCFLAGS) --latex-engine=xelatex --variable lang=french $< -o $@
%.html: %.md
$(PANDOC) $(PANDOCFLAGS) $< -o $@
%.txt: %.md
$(PANDOC) $(PANDOCFLAGS) $< -o $@
.PHONY:
clean:
rm -f *.pdf *.html *.tex *.aux *.log *.out *.toc