summary refs log tree commit diff stats
path: root/makefile
diff options
context:
space:
mode:
authorCase Duckworth2015-04-03 13:53:31 -0700
committerCase Duckworth2015-04-03 13:53:31 -0700
commit973ff0813f67af319868ba465e6817dc4cbc730b (patch)
treef3f285651cb5659a90aec87c25886f66f3f90517 /makefile
parentUpdate make clean (diff)
downloadautocento-973ff0813f67af319868ba465e6817dc4cbc730b.tar.gz
autocento-973ff0813f67af319868ba465e6817dc4cbc730b.zip
Add backlinks to backlinks
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
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))
42backHtms = $(patsubst %.back,%_backlinks.htm,$(backTxts)) 42backHtms = $(patsubst %.back,%_backlinks.htm,$(backTxts))
43backHead = $(trunk)/backlink.head 43backHead = $(trunk)/backlink.head
44backlinker = $(trunk)/backlink.sh 44backlinker = $(trunk)/backlink.sh
45backPandocOptions = --template=$(htmlTemplate) --smart 45backHtmTemplate = _backlinks_template.htm
46backPandocOptions = --template=$(backHtmTemplate) --smart
46 47
47islandHead = $(trunk)/island.head 48islandHead = $(trunk)/island.head
48islandTxt = island.txt 49islandTxt = 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)