From: Alan T. DeKok Date: Fri, 22 Feb 2019 14:50:58 +0000 (-0500) Subject: make Alex happy with a shiny spoon-feeding. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22f1007f21a7fd14cba74b82cc078d35509ca9bb;p=thirdparty%2Ffreeradius-server.git make Alex happy with a shiny spoon-feeding. --- diff --git a/Makefile b/Makefile index 3c0cef6fba3..74ed6539ab6 100644 --- a/Makefile +++ b/Makefile @@ -321,6 +321,14 @@ dist-tag: freeradius-server-$(RADIUSD_VERSION_STRING).tar.gz freeradius-server-$ # .PHONY: deb deb: + @if ! which fakeroot; then \ + if ! which apt-get; then \ + echo "'make deb' only works on debian systems" ; \ + exit 1; \ + fi ; \ + echo "Please run 'apt-get install build-essentials' "; \ + exit 1; \ + fi fakeroot debian/rules debian/control #clean fakeroot dpkg-buildpackage -b -uc