git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tentatively package unittests in rpm sfa-tests, for the nightlies
[sfa.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
eaa6b3c
..
2446adc
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,15
+5,15
@@
DESTDIR="/"
##########
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:
##########
python:
@@
-43,6
+43,17
@@
wsdl-clean:
.PHONY: wsdl wsdl-install 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
########## refreshing methods package metafile
# Metafiles - manage Legacy/ and Accessors by hand
init := sfa/methods/__init__.py