blob: fb54525cbaf509725374148b4e1c9313ef4bab9f (
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
52
53
54
|
# Makefile for the (La)TeX crossrefware package. Public domain.
SCRIPTS = \
ltx2crossrefxml.pl \
bibdoiadd.pl \
bibmradd.pl \
bibzbladd.pl \
biburl2doi.pl \
bbl2bib.pl
PACKAGE = crossrefware
MAN1 = ${SCRIPTS:%.pl=%.1}
PDF = crossrefware.pdf
all: ${MAN1} ${PDF}
chmod a+x ${SCRIPTS}
check:
./ltx2crossrefxml.pl --help
./ltx2crossrefxml.pl --version
%.1: %.pl
pod2man -c "LATEX CROSSREFWARE" -n $* -s 1 -r "" $< > $@
lastrel = /home/ftp/tex-archive/support/crossrefware
reldiff:
diff -u0r $(lastrel) .
gitdiff:
git diff
clean:
$(RM) *.aux *.toc *.log *.tex *.idx *.ilg *.ind *.out *.zip *.tgz *~
distclean: clean
$(RM) *.pdf *.1 *.3
%.pdf: %.tex
pdflatex $*
makeindex $*
pdflatex $*
crossrefware.tex: head.ltx
crossrefware.tex: ${SCRIPTS}
pod2latex -modify -full -prefile head.ltx -out $@ $+
archive: all clean
COPYFILE_DISABLE=1 tar -C .. -czvf ../$(PACKAGE).tgz --exclude '*~' \
--exclude '*.tgz' --exclude '*.zip' --exclude CVS \
--exclude '.git*' $(PACKAGE)
mv ../$(PACKAGE).tgz .
|