| 1 |
PACKAGE = *.dtx \ |
| 2 |
eledform.pdf \ |
| 3 |
example.pdf \ |
| 4 |
*.ins \ |
| 5 |
*.tex \ |
| 6 |
include/*\ |
| 7 |
makefile\ |
| 8 |
README.md |
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
.PHONY: all dist clean cleanall |
| 13 |
|
| 14 |
|
| 15 |
all:eledform.sty eledform.pdf dist clean |
| 16 |
|
| 17 |
|
| 18 |
example.pdf:example.tex eledform.sty |
| 19 |
pdflatex example.tex |
| 20 |
pdflatex example.tex |
| 21 |
pdflatex example.tex |
| 22 |
|
| 23 |
%.sty: %.ins %.dtx |
| 24 |
@rm -f $*.sty |
| 25 |
@pdflatex $*.ins |
| 26 |
|
| 27 |
%.pdf: %.dtx %.sty |
| 28 |
@xelatex $*.dtx |
| 29 |
@xelatex $*.dtx |
| 30 |
makeindex -s gglo.ist -o $*.gls $*.glo |
| 31 |
makeindex -s gind.ist -o $*.ind $*.idx |
| 32 |
@xelatex $*.dtx |
| 33 |
|
| 34 |
|
| 35 |
dist: $(PACKAGE) |
| 36 |
@$(RM) ../eledform.zip |
| 37 |
zip ../eldeform.zip $(PACKAGE) |
| 38 |
|
| 39 |
|
| 40 |
clean: |
| 41 |
@$(RM) *.aux *.log *.out *.toc *glo *idx *bib *bbl *blg *xml *gls *ilg *gz *ind |
| 42 |
|
| 43 |
cleanall:clean |
| 44 |
@$(RM) bibleref-french-francais.pdf bibleref-french.pdf test.pdf *sty |