summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/cmdtrack/Makefile
blob: d285e984718c3dbb9ba6e0bc6dc4d298971b5476 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2012 TeX Users Group.
# This file is part of the cmdtrack package, released under the LPPL;
# see cmdtrack.dtx for details.

pkg = cmdtrack
#
opt = --interaction=nonstopmode --file-line-error
latex = latex $(opt)
pdflatex = pdflatex $(opt)

$(pkg).pdf: $(pkg).sty $(pkg).dtx
	$(pdflatex) $(pkg).dtx
	$(pdflatex) $(pkg).dtx

$(pkg).sty: $(pkg).ins $(pkg).dtx
	$(latex) $<

dist: $(pkg).zip
$(pkg).zip: Makefile README $(pkg).dtx $(pkg).pdf $(pkg).ins
	chmod a+rw $^
	rm -f $@; zip $@ $^