blob: 5be9d9a52fad5e3ecbb84e14c82b666d9f0e5862 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
include ubuntu/boards/snapdragon/Makefile
include vars.mk
HTML=$(subst .textile,.html,$(TEXTILE))
textile: $(TEXTILE)
html: $(HTML)
clean:
rm -f $(HTML) $(TEXTILE)
.PRECIOUS: %.textile
%.html: %.textile
@echo "Processing $<"
@python -c "import sys,textile; print textile.textile(sys.stdin.read())" < $< > $@
%.textile: %.textile.in vars.mk Makefile
@echo "Processing $<"
@cp $< $@
@perl -p -e 's/##(\w+)##/$$ENV{$$1}/eg' < $< > $@
|