about summary refs log tree commit diff stats
path: root/src/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile3
1 files changed, 2 insertions, 1 deletions
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)