summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bibleref-french/makefile
blob: 866787a45ec3358b8d4d3b91bbbdb59d82e908a6 (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
45
46
47
48
49
50
51
PACKAGE = 	  Lacroux-Bible.pdf \
		  bibleref-french.pdf \
		  bibleref-french-francais.pdf \
		  bibleref-french.ins \
		  bibleref-french.dtx \
		  inclus/* \
		  *.tex \
		  makefile \
		  README



.PHONY: all dist clean cleanall


all:bibleref-french.sty  bibleref-french-francais.pdf  bibleref-french.pdf dist clean




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

bibleref-french-francais.pdf: bibleref-french-francais.tex inclus/bible.bib inclus/styles.tex inclus/livres.tex
	@pdflatex bibleref-french-francais.tex
	@biber bibleref-french-francais
	@pdflatex bibleref-french-francais.tex
	@pdflatex bibleref-french-francais.tex
	
bibleref-french.pdf:bibleref-french.dtx inclus/styles.tex inclus/bible.bib inclus/livres.tex bibleref-french.sty
	@pdflatex bibleref-french.dtx
	@biber bibleref-french
	@pdflatex bibleref-french.dtx
	makeindex -s gglo.ist -o bibleref-french.gls bibleref-french.glo
	@pdflatex bibleref-french.dtx
	
dist: $(PACKAGE)
	@$(RM) ../bibleref-french.zip
	rm -rf  bibleref-french
	mkdir bibleref-french
	ln $(PACKAGE) bibleref-french
	zip -r ../bibleref-french.zip bibleref-french

	

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