X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=305287020faf10fc9912aef93eae11a1cd48ed31;hb=5a09036825d1890de546582e6361f16cf44188d9;hp=a4dff1791bb54cf7af5439a2d1ef7ad9e77bce1b;hpb=299fdab77b97a5e88f82e564a05ccfcbba563f58;p=sfa.git diff --git a/Makefile b/Makefile index a4dff179..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,10 +18,8 @@ $(subdirs): %: $(MAKE) -C $@ clean: - python setup.py uninstall + python setup.py clean cd keyconvert && make clean - cd - - # XX remove keyconvert index: $(init)