From 82bfd628a6f6237633e42ca80b19550a1ffe8102 Mon Sep 17 00:00:00 2001 From: Tim Cuthbertson Date: Wed, 14 Aug 2013 13:32:51 +1000 Subject: [PATCH] updated makefile targets to just run `redo` --- Makefile | 21 +++++---------------- rednose-local.xml.do | 4 ++++ 2 files changed, 9 insertions(+), 16 deletions(-) create mode 100644 rednose-local.xml.do 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"