-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
47 lines (33 loc) · 831 Bytes
/
makefile
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
45
46
47
PACKAGE = *.dtx \
eledform.pdf \
example.pdf \
*.ins \
*.tex \
include/*\
makefile\
README.md
.PHONY: all dist clean cleanall
all:eledform.sty eledform.pdf dist clean makefile
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 -rf eledform
mkdir eledform
ln $(PACKAGE) eledform
@$(RM) ../eledform.zip
zip -r ../eledform.zip eledform
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