Skip to content
Snippets Groups Projects
Commit 628356cf authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel :man_dancing:
Browse files

Fixup report/Makefile

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