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

29 lines
697 B
Makefile
Raw Normal View History

2015-02-17 17:49:44 +01:00
PANDOC=pandoc
PANDOCFLAGS=--standalone --smart --toc -c pandoc.css
2015-02-17 18:28:47 +01:00
ALL=installation-base.pdf installation-base.html \
installation-ldap.pdf installation-ldap.html \
installation-ldapsaisie.pdf installation-ldapsaisie.html \
2015-02-19 13:05:00 +01:00
installation-idp.pdf installation-idp.html \
exploitation-ldap.pdf exploitation-ldap.html
2015-02-17 18:28:47 +01:00
2015-02-17 17:49:44 +01:00
all: $(ALL)
%.pdf: %.md
2015-02-18 18:39:28 +01:00
$(PANDOC) $(PANDOCFLAGS) --latex-engine=xelatex --variable lang=french $< -o $@
2015-02-17 17:49:44 +01:00
%.tex: %.md
2015-02-18 18:39:28 +01:00
$(PANDOC) $(PANDOCFLAGS) --latex-engine=xelatex --variable lang=french $< -o $@
2015-02-17 17:49:44 +01:00
%.html: %.md
$(PANDOC) $(PANDOCFLAGS) $< -o $@
%.txt: %.md
$(PANDOC) $(PANDOCFLAGS) $< -o $@
.PHONY:
clean:
rm -f *.pdf *.html *.tex *.aux *.log *.out *.toc
2015-02-17 17:49:44 +01:00