diff options
author | Case Duckworth | 2015-04-03 13:53:31 -0700 |
---|---|---|
committer | Case Duckworth | 2015-04-03 13:53:31 -0700 |
commit | 973ff0813f67af319868ba465e6817dc4cbc730b (patch) | |
tree | f3f285651cb5659a90aec87c25886f66f3f90517 /makefile | |
parent | Update make clean (diff) | |
download | autocento-973ff0813f67af319868ba465e6817dc4cbc730b.tar.gz autocento-973ff0813f67af319868ba465e6817dc4cbc730b.zip |
Add backlinks to backlinks
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/makefile b/makefile index 2a0ff75..86439e1 100644 --- a/makefile +++ b/makefile | |||
@@ -42,7 +42,8 @@ backTxts = $(patsubst %.html,%.back,$(htmls)) | |||
42 | backHtms = $(patsubst %.back,%_backlinks.htm,$(backTxts)) | 42 | backHtms = $(patsubst %.back,%_backlinks.htm,$(backTxts)) |
43 | backHead = $(trunk)/backlink.head | 43 | backHead = $(trunk)/backlink.head |
44 | backlinker = $(trunk)/backlink.sh | 44 | backlinker = $(trunk)/backlink.sh |
45 | backPandocOptions = --template=$(htmlTemplate) --smart | 45 | backHtmTemplate = _backlinks_template.htm |
46 | backPandocOptions = --template=$(backHtmTemplate) --smart | ||
46 | 47 | ||
47 | islandHead = $(trunk)/island.head | 48 | islandHead = $(trunk)/island.head |
48 | islandTxt = island.txt | 49 | islandTxt = island.txt |
@@ -94,7 +95,7 @@ $(lozengeOut): $(htmls) | |||
94 | %.back: %.html $(backHead) | 95 | %.back: %.html $(backHead) |
95 | @bash $(backlinker) $< $@ $(backHead) $(islandHead) $(txts) | 96 | @bash $(backlinker) $< $@ $(backHead) $(islandHead) $(txts) |
96 | 97 | ||
97 | %_backlinks.htm: %.back | 98 | %_backlinks.htm: %.back $(backHtmTemplate) |
98 | pandoc $< -t html5 $(backPandocOptions) -o $@ | 99 | pandoc $< -t html5 $(backPandocOptions) -o $@ |
99 | 100 | ||
100 | $(islandTxt): $(backTxts) | 101 | $(islandTxt): $(backTxts) |