17
0
cdsc_tex/Makefile
<mako@atdot.cc> 1147970605 -0400 9d1f8366c5 Updated Makefile to use/require the use of rubbber and added the
"titleref" command and "narrow" environment to the head of each paper.
0001-01-01 00:00:00 +00:00

25 lines
309 B
Makefile

#!/usr/bin/make
all: $(patsubst %.tex,%.pdf,$(wildcard *.tex))
%.pdf: %.png
png2pdf -p 1.4 -a $< $@
%.pdf: %.tex
rubber -fd $<
clean:
rubber -d --clean *.tex
rm -f *.tmp
rm -f figures/*.pdf
viewpdf: pdf
evince text.pdf
spell:
aspell -c -t --tex-check-comments -b text.tex
.PHONY: clean all