[devscripts] 01/01: scripts/Makefile: clean up .PHONY
Osamu Aoki
osamu at moszumanska.debian.org
Sun Sep 10 10:47:54 UTC 2017
This is an automated email from the git hooks/post-receive script.
osamu pushed a commit to branch master
in repository devscripts.
commit ecb818dcfc7c98122b9fb5e93dbccf71d6c14a8f
Author: Osamu Aoki <osamu at debian.org>
Date: Sun Sep 10 19:38:53 2017 +0900
scripts/Makefile: clean up .PHONY
Signed-off-by: Osamu Aoki <osamu at debian.org>
---
scripts/Makefile | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/scripts/Makefile b/scripts/Makefile
index 533aca6..2522a7a 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -74,6 +74,10 @@ test_pl: $(PL_CHECKS)
%.pl_check: %
perl -I ../lib -c $<
+test_py: $(PYTHON3_SCRIPTS)
+ python3 -m flake8 --max-line-length=99 $(PYTHON3_SCRIPTS)
+ $(foreach python,$(shell py3versions -r ../debian/control),$(python) setup.py test$(\n))
+
# There is a slight chance this gets called twice, once here from here and once
# from ../po4a/Makefile. Treat files with care.
PID := $(shell echo $$$$-$$PPID)
@@ -100,9 +104,7 @@ clean:
$(GEN_MAN1S) $(SCRIPT_LIBS) $(CWRAPPERS)
-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))
+test: test_pl test_sh test_py
install: all
python3 setup.py install --root="$(DESTDIR)" --no-compile --install-layout=deb
@@ -120,4 +122,4 @@ install: all
mv $(DESTDIR)$(BINDIR)/debpkg $(DESTDIR)$(DATA_DIR)
cp debpkg-wrapper $(DESTDIR)$(BINDIR)/debpkg
-.PHONY: test
+.PHONY: test test_pl test_sh test_py all install clean scripts
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git
More information about the devscripts-devel
mailing list