summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorCase Duckworth2015-03-25 11:43:38 -0700
committerCase Duckworth2015-03-25 11:43:38 -0700
commit614ca4469ba609bd112c0d13bf3f7cdf50d05bd8 (patch)
tree180eba55bbc5b3d6da202d96a9f215e09ebb6e3b /src
parentRemove test/ (diff)
downloadautocento-614ca4469ba609bd112c0d13bf3f7cdf50d05bd8.tar.gz
autocento-614ca4469ba609bd112c0d13bf3f7cdf50d05bd8.zip
Fix makefile re: RIVER crashing
Diffstat (limited to 'src')
-rw-r--r--src/and.txt3
-rw-r--r--src/makefile3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/and.txt b/src/and.txt index 25b83c6..5e40517 100644 --- a/src/and.txt +++ b/src/and.txt
@@ -1,6 +1,5 @@
1--- 1---
2title: And 2title: And
3id: and
4genre: verse 3genre: verse
5 4
6epigraph: 5epigraph:
@@ -13,7 +12,7 @@ epigraph:
13 12
14project: 13project:
15 title: Elegies for alternate selves 14 title: Elegies for alternate selves
16 class: elegies 15 css: elegies
17 order: 3 16 order: 3
18 next: 17 next:
19 - title: Words and meaning 18 - title: Words and meaning
diff --git a/src/makefile b/src/makefile index 57b42c8..b637494 100644 --- a/src/makefile +++ b/src/makefile
@@ -28,7 +28,8 @@ lozenge : $(LOZENGE)
28# Generic rule for RIVER targets and Markdown sources 28# Generic rule for RIVER targets and Markdown sources
29%.river : %.txt 29%.river : %.txt
30 @echo River-ing $@ 30 @echo River-ing $@
31 @sed "s/[^A-Za-z0-9'-]/ /g" $< |\ 31 @sed -e '/^---$$/,/^...$$/d'\
32 -e "s/[^][A-Za-z0-9\/\"':.-]/ /g" $< |\
32 pandoc - -f markdown -t $(LUAdir)/river.lua $(RIVopts) -o $(RIVdir)/$@ 33 pandoc - -f markdown -t $(LUAdir)/river.lua $(RIVopts) -o $(RIVdir)/$@
33 34
34$(LOZENGE) : $(HTMLdir)/$(HTMLs) 35$(LOZENGE) : $(HTMLdir)/$(HTMLs)