added --extractgids, --dumpparents
[sfa.git] / Makefile
index 2573dc8..ea0ad1a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,14 +3,15 @@
 #
 # 
 # Meta
+DESTDIR="/"
 init := geni/__init__.py geni/util/__init__.py geni/methods/__init__.py 
 
-subdirs := keyconvert #pyOpenSSL-0.7
-all: install $(init) $(subdirs)
+subdirs := keyconvert #pyOpenSSL-0.9
 
-install: 
-       python setup.py install
+all: $(init) $(subdirs)
+
+install: all
+       python setup.py install --root=$(DESTDIR) --record=GENI_INSTALLED_FILES
 
 $(subdirs): $(init)
 
@@ -18,9 +19,8 @@ $(subdirs): %:
        $(MAKE) -C $@
 
 clean:
-       python setup.py uninstall
-       # XX remove keyconvert   
-       
+       python setup.py clean
+       cd keyconvert && make clean
 
 index: $(init)
 
@@ -65,3 +65,7 @@ endif
 force:
 
 .PHONY: all install force clean index tags $(subdirs)
+
+# are the .java files used ?
+tags:  
+       find . -name '*.py' -o -name '*.sh' -o -name '*.ecore'  | grep -v '/\.svn/' | xargs etags