aboutsummaryrefslogtreecommitdiff
path: root/templates/Makefile
blob: 9522666c50aace1878e5cc9b1b83a52282fd87c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
VPATH     := ..
PROCESSOR := ./fillTemplates.pl
TARGETS   := Text/Pandoc/ASCIIMathML.hs \
	     Text/Pandoc/Writers/S5.hs \
	     Text/Pandoc/Writers/DefaultHeaders.hs

all: $(TARGETS)

Text/Pandoc/ASCIIMathML.hs: ASCIIMathML.hs $(PROCESSOR) $(VPATH)/ASCIIMathML.js
	perl $(PROCESSOR) $@ $(VPATH)

Text/Pandoc/Writers/S5.hs: S5.hs $(PROCESSOR) $(VPATH)/ui/default/*
	perl $(PROCESSOR) $@ $(VPATH)

Text/Pandoc/Writers/DefaultHeaders.hs: DefaultHeaders.hs $(PROCESSOR) $(VPATH)/headers/*
	perl $(PROCESSOR) $@ $(VPATH)

.PHONY: clean
clean:
	cd $(VPATH); rm -f $(TARGETS)