blob: 27f114ee653424da499e7f5fdee13def29059edf (
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
|
TEXFLAGS = -e '$$pdflatex=q/pdflatex %O %S/' -pdf
LATEXMK = latexmk
RM = rm -f
PKGNAME = xcolor-solarized
PACKAGE = $(PKGNAME).dtx \
$(PKGNAME).ins \
$(PKGNAME).pdf \
README \
makefile
all: doc
doc: $(PKGNAME).pdf
$(PKGNAME).pdf: $(PKGNAME).sty \
$(PKGNAME).dtx
$(LATEXMK) $(TEXFLAGS) $(PKGNAME).dtx
$(PKGNAME).sty: $(PKGNAME).ins \
$(PKGNAME).dtx
latex $(PKGNAME).ins
clean:
$(RM) *.aux *.fdb_latexmk *.fls *.glo *.log *.out *.toc
cleanall: clean
$(RM) $(PKGNAME).pdf *.tar.gz
.PHONY: all doc dist clean cleanall
|