Commit 628356cf authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

Fixup report/Makefile

Make sure that `make clean` is more thorough, and create ht/libs on the
fly if needed.
parent c7e7786d
......@@ -162,10 +162,10 @@ veryclean: clean
$(RM) *~ $(LIB_TEX)
clean:
$(RM) ${HT_TEXS} ht/*.html ht/html/* ht/*.htm ht/hask*.png ht/*.log ht/*.tmp \
ht/*.xref ht/classes.eps ht/*.css ht/*.idx ht/*.aux ht/*.dvi \
$(RM) ${HT_TEXS} ht/*.html ht/html/* ht/*.htm ht/hask*.png ht/*.lg ht/*.log ht/*.tmp \
ht/*.xref ht/classes.eps ht/*.css ht/*.idx ht/*.aux ht/*.idv ht/*.dvi \
ht/*.4ct ht/*.4tc ht/*.bbl ht/*.blg
$(RM) *.dvi *.log *.aux *.ilg *.blg *.toc *.bbl *.idx *.tmp *.out \
$(RM) *.dvi *.log *.aux *.ilg *.blg *.toc *.bbl *.idx *.ind *.tmp *.out \
haskell.tex preface.tex $(PARTS_NO_PREFACE) \
haskell.tex haskell.ps haskell.pdf *.o lex.yy.c haskell-report-html/* \
libs/haddock.sty libs/Prelude.tex libs/haskell*.tex
......@@ -204,6 +204,7 @@ ht/%.tex: %.verb
$(EXPAND) < $< | $(VERB_TEX4HT) | sh ../tools/subsection >$@
ht/libs/%.tex: libs/%.tex
-mkdir ht/libs
$(CP) $< $@
jfp: h98-book.tex preface-jfp.tex ${PARTS_NO_PREFACE}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment