]> git.pld-linux.org Git - projects/pld-builder.new.git/blob - Makefile
Fix outdated syntax
[projects/pld-builder.new.git] / Makefile
1 PACKAGE         := pld-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 $@
This page took 0.17177 seconds and 3 git commands to generate.