]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
make Alex happy with a shiny spoon-feeding.
authorAlan T. DeKok <aland@freeradius.org>
Fri, 22 Feb 2019 14:50:58 +0000 (09:50 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 22 Feb 2019 14:52:36 +0000 (09:52 -0500)
Makefile

index 3c0cef6fba3b2d37a7901229a514cb9ae9a2d432..74ed6539ab62d64485ea9cae35b27d4a05dd8abc 100644 (file)
--- 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