diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/makefile b/makefile index 891de95..2a0ff75 100644 --- a/makefile +++ b/makefile | |||
@@ -58,21 +58,23 @@ commonTitler = $(trunk)/common-titles.sh | |||
58 | commonTitlesHead = $(trunk)/common-titles.head | 58 | commonTitlesHead = $(trunk)/common-titles.head |
59 | # }}} | 59 | # }}} |
60 | # PHONY {{{ | 60 | # PHONY {{{ |
61 | .PHONY: all clean nuke again meta | 61 | .PHONY: all clean distclean again meta |
62 | all: meta \ | 62 | all: meta \ |
63 | $(htmlPre) $(htmls) $(lozengeOut)\ | 63 | $(htmlPre) $(htmls) $(lozengeOut)\ |
64 | $(backHtms) $(islandHtm) | 64 | $(backHtms) $(islandHtm) |
65 | 65 | ||
66 | clean: | 66 | clean: |
67 | -rm -f $(hapaxs) $(hapaxOut) | 67 | -rm -f $(hapaxs) |
68 | -rm -f $(firstLinesOut) $(firstLinesTxt) | 68 | -rm -f $(firstLinesTxt) |
69 | -rm -f $(commonTitlesOut) $(commonTitlesTxt) | 69 | -rm -f $(commonTitlesTxt) |
70 | -rm -f $(htmls) | 70 | -rm -f $(backTxts) |
71 | -rm -f $(backTxts) $(backHtms) | ||
72 | -rm -f *.tmp trunk/*.tmp | 71 | -rm -f *.tmp trunk/*.tmp |
73 | 72 | ||
74 | nuke: clean | 73 | distclean: clean |
75 | -rm -f $(hapaxPre) $(htmlPre) | 74 | -rm -f $(hapaxPre) $(htmlPre) |
75 | -rm -f $(hapaxOut) $(firstLinesOut) $(commonTitlesOut) | ||
76 | -rm -f $(backHtms) | ||
77 | -rm -f $(htmls) | ||
76 | 78 | ||
77 | again: clean all | 79 | again: clean all |
78 | 80 | ||
@@ -82,7 +84,7 @@ meta: $(hapaxOut) $(firstLinesOut) $(commonTitlesOut) | |||
82 | $(htmlPre): $(htmlPreSrc) | 84 | $(htmlPre): $(htmlPreSrc) |
83 | ghc --make $(htmlPreSrc) | 85 | ghc --make $(htmlPreSrc) |
84 | 86 | ||
85 | %.html: %.txt $(htmlTemplate) $(htmlPre) | 87 | %.html: %.txt | $(htmlTemplate) $(htmlPre) |
86 | pandoc $< -t html5 $(htmlPandocOptions) -o $@ | 88 | pandoc $< -t html5 $(htmlPandocOptions) -o $@ |
87 | 89 | ||
88 | $(lozengeOut): $(htmls) | 90 | $(lozengeOut): $(htmls) |