This is an automated email from the git hooks/post-receive script.

osamu pushed a commit to branch master
in repository devscripts.

commit 4901fb804cc1c6b29f93011db5dcc53078a092c6
Author: Osamu Aoki <os...@debian.org>
Date:   Sun Sep 10 08:27:38 2017 +0900

    scrips/Makefile: test target fixes and helper targets
    
    Signed-off-by: Osamu Aoki <os...@debian.org>
---
 scripts/Makefile | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/scripts/Makefile b/scripts/Makefile
index d70109c..533aca6 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -32,11 +32,11 @@ GEN_MAN1S += debrepro.1 devscripts.1 mk-origtargz.1 uscan.1 
reproducible-check.1
 
 all: $(SCRIPTS) $(GEN_MAN1S) $(CWRAPPERS) $(COMPLETION)
 
+scripts: $(SCRIPTS)
+
 $(VERSION_FILE):
        $(MAKE) -C .. version
 
-%: %.sh
-
 debchange: debchange.pl $(VERSION_FILE)
        cp $< $@
        sed -i "s/###VERSION###/$(VERSION)/" $@
@@ -66,9 +66,11 @@ endif
          /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $<
 
 # Syntax checker
-%.sh.check: %
+test_sh: $(SH_CHECKS)
+%.sh_check: %
        bash -n $<
 
+test_pl: $(PL_CHECKS)
 %.pl_check: %
        perl -I ../lib -c $<
 
@@ -97,7 +99,8 @@ clean:
        rm -f $(SCRIPTS) $(patsubst %,%.tmp,$(SCRIPTS)) \
                $(GEN_MAN1S) $(SCRIPT_LIBS) $(CWRAPPERS)
 
-test: $(PL_CHECKS) $(SH_CHECKS)
+
+test: test_pl test_sh
        python3 -m flake8 --max-line-length=99 $(PYTHON3_SCRIPTS)
        $(foreach python,$(shell py3versions -r ../debian/control),$(python) 
setup.py test$(\n))
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/collab-maint/devscripts.git

_______________________________________________
devscripts-devel mailing list
devscripts-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to