~dpm/help-app/new-content-and-fixes

11 by Daniel Holbach
add Makefile
1
#!/usr/bin/make -f
2
48.1.11 by Daniel Holbach
fix clean target
3
ignored := $(shell bzr ignored | cut -d' ' -f1)
4
11 by Daniel Holbach
add Makefile
5
clean:
48.1.11 by Daniel Holbach
fix clean target
6
ifneq ($(strip $(ignored)),)
7
	$(foreach fn, $(ignored), $(shell rm -r $(fn);))
8
endif
11 by Daniel Holbach
add Makefile
9
18 by Daniel Holbach
simplify structure and instructions somewhat
10
click: html
11
	cd app && click build . && mv *.click ..
11 by Daniel Holbach
add Makefile
12
48.1.8 by Daniel Holbach
don't fail on failed 'make clean', make 'clean' prerequisite of 'html'
13
html: clean
22 by Daniel Holbach
move to pelican
14
	make -C edit-here html
24 by Daniel Holbach
global 'make serve'
15
56.2.3 by Daniel Holbach
add top-level 'make web' target, document where the build goes
16
web:
17
	make -C edit-here web
25 by Daniel Holbach
add 'make update-pot' to generate .pot file for us
18
19
update-pot:
42 by Daniel Holbach
update Makefiles and docs, update .pot file too
20
	cd edit-here && ./generate-pot
56.2.3 by Daniel Holbach
add top-level 'make web' target, document where the build goes
21
56.2.4 by Daniel Holbach
remove top-leve 'make serve' - it wasn't that useful
22
.PHONY: click html web update-pot clean