diff options
author | Jonas Smedegaard <dr@jones.dk> | 2015-01-04 17:15:19 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2015-01-04 17:15:19 +0100 |
commit | 019be0e004d7d646709e3a0a01aafaa9ad48c384 (patch) | |
tree | ef2463b01c80a08e72ba134b2b80865563d40761 /Makefile | |
parent | 3eb8cb8867f083047c277527e83692cfaa479613 (diff) |
Add separately authored copyright text (and drop upstream copyright section).
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -13,8 +13,10 @@ filters = ./pandoc-cs1 ./pandoc-todo filters += $(if $(citeproc_file),pandoc-citeproc) filters += ./pandoc-iri -mediawiki_includes = copyright.mw preface.mw foreword.mw +markdown_includes = copyright.md +mediawiki_includes = preface.mw foreword.mw +includes += $(markdown_includes:.md=.tex) includes += $(mediawiki_includes:.mw=.tex) localfilters = $(filter ./%,$(filters)) @@ -60,6 +62,9 @@ $(stem).native: $(stem).mw $(localfilters) $(mediawiki_includes:.mw=.tex): %.tex: %.mw $(stem).mw pandoc -f mediawiki -t latex --chapters -o $@ $< +$(markdown_includes:.md=.tex): %.tex: %.md + pandoc -f markdown -t latex --chapters -o $@ $< + $(flavors:%=$(stem)-%.tex): $(stem)-%.tex: $(stem).native $(templates) $(includes) pandoc $(args_meta) $(args_latex) $(args_$*) -o $@ $< |