Debian Codegraph @

texmf-dist/source/latex/seqsplit/Makefile

raw
1 #
2 # Makefile for seqsplit package
3 #
4 # This file is in public domain
5 #
6 # $Id: Makefile,v 1.1 2006/08/07 22:00:19 boris Exp $
7 #
8
9 PACKAGE=seqsplit
10
11 all: $(PACKAGE).pdf
12
13
14 %.pdf: %.dtx $(PACKAGE).sty
15 pdflatex $<
16 - bibtex $*
17 pdflatex $<
18 - makeindex -s gind.ist -o $*.ind $*.idx
19 - makeindex -s gglo.ist -o $*.gls $*.glo
20 pdflatex $<
21 while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \
22 do pdflatex $<; done
23
24
25 %.sty: %.ins %.dtx
26 pdflatex $<
27
28
29
30 .PRECIOUS: $(PACKAGE).cfg $(PACKAGE).sty
31
32
33 clean:
34 $(RM) $(PACKAGE).sty $(PACKAGE).log $(PACKAGE).aux \
35 $(PACKAGE).cfg $(PACKAGE).glo $(PACKAGE).idx $(PACKAGE).toc \
36 $(PACKAGE).ilg $(PACKAGE).ind $(PACKAGE).out $(PACKAGE).lof \
37 $(PACKAGE).lot $(PACKAGE).bbl $(PACKAGE).blg $(PACKAGE).gls \
38 $(PACKAGE).dvi $(PACKAGE).ps
39
40 veryclean: clean
41 $(RM) $(PACKAGE).pdf
42
43 #
44 # Archive for the distribution. Includes typeset documentation
45 #
46 archive: all clean
47 tar -czvf $(PACKAGE).tgz --exclude '*~' --exclude '*.tgz' --exclude CVS .