X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=2446adcebbe5a110b2c45ed7e62e51f3f9e9035f;hb=dd5f700e6e2f9969d7c37d3cef3c3624adffe3f5;hp=eaa6b3c7e04409856d64ad4af57a8dd77dfcc3a7;hpb=68b79944ded5b0eb71d7a00dc7200e20cfda5c32;p=sfa.git diff --git a/Makefile b/Makefile index eaa6b3c7..2446adce 100644 --- a/Makefile +++ b/Makefile @@ -5,15 +5,15 @@ DESTDIR="/" ########## -all: python wsdl +all: python wsdl -install: python-install wsdl-install xmlbuilder-install +install: python-install wsdl-install xmlbuilder-install tests-install -clean: python-clean wsdl-clean +clean: python-clean wsdl-clean -uninstall: python-uninstall +uninstall: python-uninstall tests-uninstall -.PHONY: all install clean +.PHONY: all install clean uninstall ########## python: @@ -43,6 +43,17 @@ wsdl-clean: .PHONY: wsdl wsdl-install wsdl-clean + +########## +tests-install: + mkdir -p $(DESTDIR)/usr/share/sfa/tests + install -m 755 tests/*.py $(DESTDIR)/usr/share/sfa/tests/ + +tests-uninstall: + rm -rf $(DESTDIR)/usr/share/sfa/tests + +.PHONY: tests-install tests-uninstall + ########## refreshing methods package metafile # Metafiles - manage Legacy/ and Accessors by hand init := sfa/methods/__init__.py