~danielmcguire/help-app/help-app

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
75.1.1 by Daniel Holbach
add *very* basic test-suite, should be modular and easy enough to extend - plus: the package build process should pick up 'make check'
10
check:
11
	make -C edit-here check
12
18 by Daniel Holbach
simplify structure and instructions somewhat
13
click: html
14
	cd app && click build . && mv *.click ..
11 by Daniel Holbach
add Makefile
15
48.1.8 by Daniel Holbach
don't fail on failed 'make clean', make 'clean' prerequisite of 'html'
16
html: clean
22 by Daniel Holbach
move to pelican
17
	make -C edit-here html
24 by Daniel Holbach
global 'make serve'
18
56.2.3 by Daniel Holbach
add top-level 'make web' target, document where the build goes
19
web:
20
	make -C edit-here web
25 by Daniel Holbach
add 'make update-pot' to generate .pot file for us
21
22
update-pot:
42 by Daniel Holbach
update Makefiles and docs, update .pot file too
23
	cd edit-here && ./generate-pot
56.2.3 by Daniel Holbach
add top-level 'make web' target, document where the build goes
24
75.1.1 by Daniel Holbach
add *very* basic test-suite, should be modular and easy enough to extend - plus: the package build process should pick up 'make check'
25
.PHONY: click html web update-pot clean check