Browse Source

ajout option pandoc

master
Francois Lesueur 2 years ago
parent
commit
ae004b5207
  1. 6
      Makefile

6
Makefile

@ -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)

Loading…
Cancel
Save