]> git.pld-linux.org Git - projects/pld-builder.new.git/blame - Makefile
Make builddir as short as possible.
[projects/pld-builder.new.git] / Makefile
CommitLineData
9ea6c4b6 1PACKAGE := pld-builder
8f88edb6 2VERSION := 0.6
492d2f13 3SNAP := $(shell date +%Y%m%d)
9ea6c4b6
ER
4
5# for make dist
8f88edb6
ER
6REMOTE := ssh://git@git.pld-linux.org/projects/$(MODULE)
7MODULE := pld-builder.new
8BRANCH := master
9ea6c4b6 9
8f88edb6
ER
10all: compile
11
12compile:
b03a96bc
MM
13 python -c "import compileall; compileall.compile_dir('.')"
14
15clean:
16 find -name '*.pyc' | xargs rm -f
8f88edb6
ER
17 rm -f *.tar.bz2
18
3646876c 19dist: $(PACKAGE)-$(VERSION).$(SNAP).tar.bz2
8f88edb6
ER
20 test ! -x ./dropin || ./dropin $<
21
22%.tar.bz2: %.tar
23 bzip2 -9 $<
9ea6c4b6 24
8f88edb6
ER
25%.tar:
26 git archive --prefix=$(patsubst %.tar,%,$@)/ $(BRANCH) -o $@
This page took 1.473624 seconds and 4 git commands to generate.