mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 21:19:31 -06:00
42 lines
432 B
Makefile
42 lines
432 B
Makefile
FIGURES=
|
|
|
|
NAME=typesystem
|
|
|
|
default: pdf
|
|
|
|
ps: $(NAME).ps
|
|
|
|
pdf: $(NAME).pdf
|
|
|
|
%.ps: %.dvi
|
|
dvips -f $^ > $@
|
|
|
|
#%.pdf: %.ps
|
|
# ps2pdf $^
|
|
|
|
%.pdf: %.dvi
|
|
dvipdfm $^
|
|
|
|
%.dvi: %.tex # %.bib
|
|
latex $*
|
|
# bibtex $*
|
|
# latex $*
|
|
# latex $*
|
|
|
|
%.ps: %.dot
|
|
dot -Tps -o $@ $^
|
|
|
|
%.eps: %.ps
|
|
ps2epsi $^ $@
|
|
|
|
$(NAME).dvi: $(FIGURES)
|
|
|
|
clean:
|
|
-rm -f *.aux *.dvi *.log *.blg *.bbl *.toc
|
|
|
|
psclean: clean
|
|
-rm -f *.pdf *.ps
|
|
|
|
show: $(NAME).dvi
|
|
xdvi $(NAME).dvi
|