[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. 0.51

Andreas Beckmann anbe at debian.org
Wed May 15 10:09:43 UTC 2013


The following commit has been merged in the master branch:
commit 39cf6f3a79d10fb60d39e623d2bcd697687aada7
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sat Apr 6 16:03:43 2013 +0200

    Makefile: perform python syntax check in {master,slave}-bin, too
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/Makefile b/Makefile
index 4fbcb8c..831cf40 100644
--- a/Makefile
+++ b/Makefile
@@ -41,8 +41,11 @@ endef
 
 all: install install-doc
 
+python_scripts	 = $(wildcard *.py piupartslib/*.py master-bin/*.py slave-bin/*.py)
+python_scripts	+= master-bin/detect_well_known_errors
 python-syntax-check:
-	@set -e -x; $(foreach py,$(wildcard *.py piupartslib/*.py),python -m py_compile $(py);)
+	@set -e -x; $(foreach py,$(python_scripts),python -m py_compile $(py);)
+	$(RM) $(python_scripts:=c)
 
 build: build-stamp
 
@@ -148,5 +151,5 @@ check:
 clean:
 	rm -f build-stamp
 	rm -f piuparts.1 piuparts.1.xml piuparts.1.html README.xml README.html docbook-xsl.css piuparts.html
-	rm -f *.pyc piupartslib/*.pyc
+	rm -f *.pyc piupartslib/*.pyc master-bin/*.pyc slave-bin/*.pyc
 	rm -f $(SCRIPTS_GENERATED)

-- 
piuparts git repository



More information about the Piuparts-commits mailing list