24 lines
412 B
Makefile
24 lines
412 B
Makefile
|
PANDOC=pandoc
|
||
|
PANDOCFLAGS=--standalone --smart --toc -c pandoc.css
|
||
|
ALL=installation-base.pdf installation-base.html
|
||
|
|
||
|
all: $(ALL)
|
||
|
|
||
|
%.pdf: %.md
|
||
|
$(PANDOC) $(PANDOCFLAGS) --variable lang=french $< -o $@
|
||
|
|
||
|
%.tex: %.md
|
||
|
$(PANDOC) $(PANDOCFLAGS) --variable lang=french $< -o $@
|
||
|
|
||
|
%.html: %.md
|
||
|
$(PANDOC) $(PANDOCFLAGS) $< -o $@
|
||
|
|
||
|
%.txt: %.md
|
||
|
$(PANDOC) $(PANDOCFLAGS) $< -o $@
|
||
|
|
||
|
.PHONY:
|
||
|
|
||
|
clean:
|
||
|
rm -f *.pdf *.html *.tex
|
||
|
|