summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/eledform/makefile
blob: 379b65bf9ec0751c6b535f753deda404658b53c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
PACKAGE = *.dtx \
		  eledform.pdf \
		  example.pdf \
		  *.ins \
		  *.tex \
		  include/*\
		  makefile\
		  README.md



.PHONY: all dist clean cleanall


all:eledform.sty eledform.pdf dist clean


example.pdf:example.tex eledform.sty
	pdflatex example.tex
	pdflatex example.tex
	pdflatex example.tex

%.sty: %.ins %.dtx 
	@rm -f $*.sty
	@pdflatex $*.ins

%.pdf: %.dtx %.sty
	@xelatex $*.dtx
	@xelatex $*.dtx
	makeindex -s gglo.ist -o $*.gls $*.glo
	makeindex -s gind.ist -o $*.ind $*.idx
	@xelatex $*.dtx
	

dist: $(PACKAGE)
	@$(RM) ../eledform.zip
	zip ../eldeform.zip $(PACKAGE)
	

clean:
	@$(RM) *.aux *.log *.out *.toc  *glo *idx *bib *bbl *blg *xml *gls *ilg *gz *ind

cleanall:clean
	@$(RM) bibleref-french-francais.pdf bibleref-french.pdf test.pdf *sty