X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=Makefile;h=305287020faf10fc9912aef93eae11a1cd48ed31;hp=32fc46f65d485a678ac35ec7d39f2f15b1df4f9a;hb=5a09036825d1890de546582e6361f16cf44188d9;hpb=acfba85319a372fa5397c74b4c537caeccf46bfe diff --git a/Makefile b/Makefile index 32fc46f6..30528702 100644 --- a/Makefile +++ b/Makefile @@ -6,11 +6,11 @@ init := geni/__init__.py geni/util/__init__.py geni/methods/__init__.py subdirs := keyconvert #pyOpenSSL-0.9 - -all: install $(init) $(subdirs) -install: - python setup.py install +all: $(init) $(subdirs) + +install: all + python setup.py install --root=$(DESTDIR) $(subdirs): $(init) @@ -18,9 +18,8 @@ $(subdirs): %: $(MAKE) -C $@ clean: - python setup.py uninstall + python setup.py clean cd keyconvert && make clean - # XX remove keyconvert index: $(init)