From 8f176479c0282e564a87036704c515f746aab3a9 Mon Sep 17 00:00:00 2001 From: Chad Smith Date: Mon, 24 Apr 2017 17:57:04 +0000 Subject: 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 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3