diff options
Diffstat (limited to 'macros/xetex/latex/facture/Makefile')
-rw-r--r-- | macros/xetex/latex/facture/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/macros/xetex/latex/facture/Makefile b/macros/xetex/latex/facture/Makefile new file mode 100644 index 0000000000..a5283e4b19 --- /dev/null +++ b/macros/xetex/latex/facture/Makefile @@ -0,0 +1,28 @@ +.PHONY: clean + +EXAMPLES = exemple.tex exemplesansTVA.tex exemplesansremise.tex +EXAMPLES_PDF = $(EXAMPLES:%.tex=%.pdf) + +all: facture.pdf $(EXAMPLES_PDF) + +facture.zip: all + mkdir -p facture + cp $(EXAMPLES) $(EXAMPLES_PDF) facture.{dtx,ins,pdf} README.md Makefile facture/ + zip -r facture.zip facture + +facture.cls: + @xelatex facture.ins + +facture.pdf: + @xelatex facture.dtx + @makeindex -s gglo.ist -o facture.gls facture.glo + @xelatex facture.dtx + @xelatex facture.dtx + +%.pdf: %.tex facture.cls + @xelatex $* + +clean: + rm -f *.aux *.cls *.log *.glo *.gls *.hd *.idx *.ilg *.out *.pdf *.toc + rm -f facture.zip + rm -rf facture |