summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChad Smith <chad.smith@canonical.com>2017-04-24 17:57:04 +0000
committerScott Moser <smoser@brickies.net>2017-05-16 16:42:56 -0400
commit8f176479c0282e564a87036704c515f746aab3a9 (patch)
treebd582d8d9aafa64341dcad72af40be288ac8a2c9 /Makefile
parent64a3df16d9c63db470a3ba55d9c5cc8e05d050d7 (diff)
downloadvyos-cloud-init-8f176479c0282e564a87036704c515f746aab3a9.tar.gz
vyos-cloud-init-8f176479c0282e564a87036704c515f746aab3a9.zip
make deb: Add devscripts dependency for make deb. Cleanup packages/bddeb.
Add a simple dependency check to "make deb" target for devscripts. Rework a bit of the logic in package/bddeb to drop superfluous STD_NAMED_PACKAGES to avoid duplication of requirements already listed in (test-)?requiremets.txt. All "standard" packages can be assumed to have either python3- or python- prefix if not listed in NONSTD_NAMED_PACKAGES. This branch also moves logic inside write_debian_folder which is unneeded up in main. LP: #1685935
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5940ed7e..09cd1479 100644
--- a/Makefile
+++ b/Makefile
@@ -82,6 +82,10 @@ rpm:
./packages/brpm --distro $(distro)
deb:
+ @which debuild || \
+ { echo "Missing devscripts dependency. Install with:"; \
+ echo sudo apt-get install devscripts; exit 1; }
+
./packages/bddeb
.PHONY: test pyflakes pyflakes3 clean pep8 rpm deb yaml check_version