diff --git a/Makefile b/Makefile index 2334624..a8d683a 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/rednose-local.xml.do b/rednose-local.xml.do new file mode 100644 index 0000000..efaf40a --- /dev/null +++ b/rednose-local.xml.do @@ -0,0 +1,4 @@ +exec >&2 +set -eu +0install run http://gfxmonk.net/dist/0install/0local.xml rednose.xml.template +mv "$1" "$3"