summaryrefslogtreecommitdiffstats
path: root/documentation/Makefile
blob: 2d0ffba71d2d9ef7e381f7654c4fd6a0fbac9047 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 \
    exploitation-ldap.pdf exploitation-ldap.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