]> TLD Linux GIT Repositories - tld-builder.git/blob - Makefile
- show full time and date in HTML queue, drop filtering by requester
[tld-builder.git] / Makefile
1 PACKAGE         := tld-builder
2 VERSION         := 0.6
3 SNAP            := $(shell date +%Y%m%d)
4
5 all: compile
6
7 compile:
8         python -c "import compileall; compileall.compile_dir('.')"
9
10 clean:
11         find -name '*.pyc' | xargs rm -f
12         rm -f *.tar.bz2
13
14 dist: $(PACKAGE)-$(VERSION).$(SNAP).tar.bz2
15         test ! -x ./dropin || ./dropin $<
16
17 %.tar.bz2: %.tar
18         bzip2 -9 $<
19
20 %.tar:
21         git archive --prefix=$(patsubst %.tar,%,$@)/ HEAD -o $@