From 614ca4469ba609bd112c0d13bf3f7cdf50d05bd8 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 25 Mar 2015 11:43:38 -0700 Subject: Fix makefile re: RIVER crashing --- src/and.txt | 3 +-- src/makefile | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 @@ --- title: And -id: and genre: verse epigraph: @@ -13,7 +12,7 @@ epigraph: project: title: Elegies for alternate selves - class: elegies + css: elegies order: 3 next: - 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) # Generic rule for RIVER targets and Markdown sources %.river : %.txt @echo River-ing $@ - @sed "s/[^A-Za-z0-9'-]/ /g" $< |\ + @sed -e '/^---$$/,/^...$$/d'\ + -e "s/[^][A-Za-z0-9\/\"':.-]/ /g" $< |\ pandoc - -f markdown -t $(LUAdir)/river.lua $(RIVopts) -o $(RIVdir)/$@ $(LOZENGE) : $(HTMLdir)/$(HTMLs) -- cgit 1.4.1-21-gabe81