]> git.pld-linux.org Git - projects/pld-builder.new.git/blame - Makefile
mkstemp returns file descriptor, convert to file object
[projects/pld-builder.new.git] / Makefile
CommitLineData
9ea6c4b6 1PACKAGE := pld-builder
389f2248 2VERSION := 0.5
492d2f13 3SNAP := $(shell date +%Y%m%d)
9ea6c4b6
ER
4
5# for make dist
6CVSROOT := :pserver:cvs@cvs.pld-linux.org:/cvsroot
7CVSMODULE := pld-builder.new
8CVSTAG := HEAD
9
b03a96bc
MM
10all:
11 python -c "import compileall; compileall.compile_dir('.')"
12
13clean:
14 find -name '*.pyc' | xargs rm -f
9ea6c4b6
ER
15
16dist:
492d2f13
ER
17 rm -rf $(PACKAGE)-$(VERSION).$(SNAP)
18 mkdir -p $(PACKAGE)-$(VERSION).$(SNAP)
19 cvs -d $(CVSROOT) export -d $(PACKAGE)-$(VERSION).$(SNAP) -r $(CVSTAG) $(CVSMODULE)
20 tar -cjf $(PACKAGE)-$(VERSION).$(SNAP).tar.bz2 $(PACKAGE)-$(VERSION).$(SNAP)
21 rm -rf $(PACKAGE)-$(VERSION).$(SNAP)
dc6e8986 22 test -x ./dropin && ./dropin $(PACKAGE)-$(VERSION).$(SNAP).tar.bz2
This page took 0.102049 seconds and 4 git commands to generate.