mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 14:32:24 +00:00
58708e3ad1
BUG= R=hausner@google.com Review URL: https://codereview.chromium.org//1181733003.
42 lines
797 B
Makefile
42 lines
797 B
Makefile
NAME=dartLangSpec
|
|
SPEC=$(NAME).tex
|
|
HASH=$(NAME)-hash.tex
|
|
LIST=$(NAME)-list.txt
|
|
HASHER=../../tools/addlatexhash.dart
|
|
|
|
pdf:
|
|
pdflatex $(SPEC)
|
|
pdflatex $(SPEC)
|
|
pdflatex $(SPEC)
|
|
|
|
pdfhash: hash_and_list
|
|
pdflatex $(HASH)
|
|
pdflatex $(HASH)
|
|
pdflatex $(HASH)
|
|
|
|
dvi:
|
|
latex $(SPEC)
|
|
latex $(SPEC)
|
|
latex $(SPEC)
|
|
|
|
dvihash: hash_and_list
|
|
latex $(HASH)
|
|
latex $(HASH)
|
|
latex $(HASH)
|
|
|
|
hash_and_list:
|
|
dart $(HASHER) $(SPEC) $(HASH) $(LIST)
|
|
|
|
help:
|
|
@echo "Goals:"
|
|
@echo " pdf, dvi: generate the pdf/dvi file containing the spec"
|
|
@echo " pdfhash, dvihash: ditto, with location markers filled in"
|
|
@echo " cleanish: remove [pdf]latex generated intermediate files"
|
|
@echo " clean: remove all generated files"
|
|
|
|
cleanish:
|
|
rm -f *.aux *.log *.toc *.out
|
|
|
|
clean: cleanish
|
|
rm -f *.dvi *.pdf $(HASH) $(LIST)
|
|
|