ajout option pandoc

This commit is contained in:
Francois Lesueur 2021-11-26 11:15:50 +01:00
parent 322b9da3ca
commit ae004b5207

View File

@ -12,16 +12,14 @@ html: $(HTML)
directories: $(OUTDIR) directories: $(OUTDIR)
$(OUTDIR): $(OUTDIR):
mkdir $(OUTDIR) mkdir $(OUTDIR)
$(OUTDIR)/%.html: %.md $(OUTDIR) $(OUTDIR)/%.html: %.md $(OUTDIR)
pandoc $< -o $@ -s pandoc --from=markdown+lists_without_preceding_blankline $< -o $@ -s
$(OUTDIR)/%.pdf: $(OUTDIR)/%.html $(OUTDIR)/%.pdf: $(OUTDIR)/%.html
wkhtmltopdf $< $@ wkhtmltopdf $< $@
clean: clean:
\rm -rf *.html *.pdf $(OUTDIR) \rm -rf *.html *.pdf $(OUTDIR)