Show Makefile syntax highlighted
RST_TARGETS=$(shell for file in *.rst; do echo $${file%.rst}.gen.pdf; done)
all: $(RST_TARGETS)
showtargets:
echo $(RST_TARGETS)
clean:
rm -f *.gen.* *~
rm *.pyc
rm m.dat
.PRECIOUS: %.gen.latex %.gen.dvi
%.gen.pdf: %.gen.ps
ps2pdf $< $@
%.gen.pdf: %.gen.eps
ps2pdf $< $@
#%.gen.pdf: %.gen.latex $(LATEX_DEPS)
# pdflatex $*.gen.latex
# BIBINPUTS=..:$$BIBINPUTS bibtex $*.gen
# pdflatex $*.gen.latex
%.gen.dvi: %.gen.latex $(LATEX_DEPS)
latex $<
BIBINPUTS=..:$$BIBINPUTS bibtex $*.gen
latex $<
latex $<
%.gen.ps: %.gen.dvi style.tex
dvips $< -o $@
%.gen.latex: %.rst docutils.conf
$(MAKE) -C ../../navidoc latex RST="../manuscripts/Sigs/$<"
%.gen.html: %.rst docutils.conf
$(MAKE) -C ../../navidoc html RST="../manuscripts/Sigs/$<"
%.gen.png: %.dia
dia -n -e $@ $<
%.gen.eps: %.dia
dia -n -e $@ $<
See more files for this project here