From 628356cf18f8bb80644fcca636654a008f77f521 Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel <hvr@gnu.org> Date: Sat, 6 Jun 2015 13:22:44 +0200 Subject: [PATCH] Fixup report/Makefile Make sure that `make clean` is more thorough, and create ht/libs on the fly if needed. --- report/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/report/Makefile b/report/Makefile index 9d47e9f..2c7ec66 100644 --- a/report/Makefile +++ b/report/Makefile @@ -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} -- GitLab