[node-patches] Change in ovirt-node[master]: build: Add Makefile.check

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed Apr 17 15:44:12 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: build: Add Makefile.check
......................................................................

build: Add Makefile.check

A dedicated Makefile to handle check related targets.

Change-Id: I5b8c45a96f81a55f64280b6bd4296128449db2c1
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/Makefile.am
R src/Makefile.check
2 files changed, 2 insertions(+), 12 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/02/14002/1

diff --git a/src/Makefile.am b/src/Makefile.am
index 645ad8f..cdf7df3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -15,6 +15,8 @@
 # MA  02110-1301, USA.  A copy of the GNU General Public License is
 # also available at http://www.gnu.org/copyleft/gpl.html.
 
+include Makefile.check
+
 pyovirtconfigsetupdir =$(pythondir)/ovirt_config_setup
 pyovirtconfigsetup_PYTHON = \
   ovirt_config_setup/__init__.py \
@@ -114,12 +116,3 @@
   ovirt/node/utils/system.py \
   ovirt/node/utils/virt.py
 
-
-# Requires python-pep8 package (Fedora)
-check-local: check-local-pep8
-
-check-local-pep8:
-	find $(srcdir) -name \*.py | sort | uniq | xargs pep8 --repeat --statistics --count
-
-check-local-doctest:
-	find $(srcdir) -name \*.py | sort | uniq | xargs python -m doctest -v
diff --git a/src/makefile.tui b/src/Makefile.check
similarity index 97%
rename from src/makefile.tui
rename to src/Makefile.check
index 71e682b..d54e709 100644
--- a/src/makefile.tui
+++ b/src/Makefile.check
@@ -46,6 +46,3 @@
 		echo Checking python26 syntax compatability on "$$M"; \
 		PYTHONPATH=. python26 -m py_compile $$M | exit 0; \
 	done
-
-clean:
-	-rm $(CLEANFILES)


--
To view, visit http://gerrit.ovirt.org/14002
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5b8c45a96f81a55f64280b6bd4296128449db2c1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list