about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index c1c2d0a3..17199c77 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -8,6 +8,8 @@
 #   merge:        Build everything as merged executables, in the source dir
 #   package:      Make a package of Netpbm files ready to install
 #   
+#   deb:          Make a .deb file in the current dir.
+#
 #   The default target is either "merge" or "nonmerge", as determined by
 #   the DEFAULT_TARGET variable set by config.mk.
 
@@ -393,6 +395,12 @@ install.sharedlibstub:
 	$(MAKE) -C lib -f $(SRCDIR)/lib/Makefile \
 	    SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) install.sharedlibstub 
 
+# Make the 'deb' target after making 'package'.  It generates a .deb
+# file in the current directory.
+.PHONY: deb
+deb:
+	buildtools/debian/mkdeb --buildtools=buildtools --pkgdir=$(PKGDIR)
+
 clean: localclean
 
 .PHONY: localclean