updated makefile targets to just run redo

This commit is contained in:
Tim Cuthbertson
2013-08-14 13:32:51 +10:00
parent 377b140c1d
commit 82bfd628a6
2 changed files with 9 additions and 16 deletions

View File

@@ -1,19 +1,8 @@
0:
mkzero-gfxmonk -p setup.py -p rednose.py rednose.xml
redo=0install run --command=redo-ifchange http://gfxmonk.net/dist/0install/redo.xml
pypi:
./setup.py register sdist upload
default: test
clean:
rm -rf *.egg-info
%: phony
${redo} $@
rednose-local.xml: rednose.xml
0launch http://gfxmonk.net/dist/0install/0local.xml rednose.xml rednose-local.xml
test: rednose-local.xml
0launch http://0install.net/2008/interfaces/0test.xml \
rednose-local.xml \
http://repo.roscidus.com/python/python \
2.6,2.7 2.7,2.8 3.0,4
.PHONY: 0 pypi
.PHONY: phony default

4
rednose-local.xml.do Normal file
View File

@@ -0,0 +1,4 @@
exec >&2
set -eu
0install run http://gfxmonk.net/dist/0install/0local.xml rednose.xml.template
mv "$1" "$3"