about summary refs log tree commit diff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-03-27 02:33:38 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2016-03-27 02:33:38 +0000
commitb8b99bd683fa8fa9b5a88ffbf00fc481b752327f (patch)
treed875e5fa35c57ff21ab4818129e3f4ea83a6f271 /GNUmakefile
parent367c9cb514c9da766488b9bdb218a18e31cb7624 (diff)
downloadnetpbm-mirror-b8b99bd683fa8fa9b5a88ffbf00fc481b752327f.tar.gz
netpbm-mirror-b8b99bd683fa8fa9b5a88ffbf00fc481b752327f.tar.xz
netpbm-mirror-b8b99bd683fa8fa9b5a88ffbf00fc481b752327f.zip
Add 'deb' make target
git-svn-id: http://svn.code.sf.net/p/netpbm/code/super_stable@2697 9d0c8265-081b-0410-96cb-a4ca84ce46f8
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