summaryrefslogtreecommitdiff
path: root/Makefile
blob: 1ae2921da9b5aec15573fadd4cf7fdfb771253bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# required so that further += assignment are immediate, not defered...
TEXTILE:=
include debian/boards/snapdragon/Makefile
include debian/boards/dragonboard410c/Makefile
include debian/boards/dragonboard845c/Makefile
include openembedded/boards/dragonboard410c/Makefile
include openembedded/boards/dragonboard845c/Makefile

HTML=$(subst .textile,.html,$(TEXTILE))

textile: $(TEXTILE)
html: $(HTML)

clean:
	rm -f $(HTML) $(TEXTILE)

.PRECIOUS: %.textile
%.html: %.textile
	@echo "Converting $< to $@"
	@python -c "import sys,textile; print(textile.textile(sys.stdin.read()))" < $<  > $@

%.textile: %.textile.in %.textile.vars Makefile
	@echo "Processing $< to $@"
	@cp $< $@
	@./vars.sh $@.vars $< $@