[Vm-dev] [commit][3750] Update example makefile with "make deb" to make a Debian package with checkinstall

commits at squeakvm.org commits at squeakvm.org
Sun Oct 2 22:29:18 UTC 2016


Revision: 3750
Author:   lewis
Date:     2016-10-02 15:29:17 -0700 (Sun, 02 Oct 2016)
Log Message:
-----------
Update example makefile with "make deb" to make a Debian package with checkinstall

Modified Paths:
--------------
    trunk/platforms/unix/cmake/Makefile.example

Modified: trunk/platforms/unix/cmake/Makefile.example
===================================================================
--- trunk/platforms/unix/cmake/Makefile.example	2016-09-11 22:47:40 UTC (rev 3749)
+++ trunk/platforms/unix/cmake/Makefile.example	2016-10-02 22:29:17 UTC (rev 3750)
@@ -1,4 +1,4 @@
-# Thu Jan 29 20:12:32 EST 2015 dtl
+# Sun Oct  2 18:26:35 EDT 2016 dtl
 #
 # Makefile to build and install a 32-bit and 64-bit object memory VM. This
 # makefile can be run with /usr/sbin/checkinstall to create an RPM or Debian
@@ -32,6 +32,12 @@
 	(cd build; make install)
 	(cd build64; make install)
 
+# Make Debian package with checkinstall
+deb:	squeakvm
+	checkinstall -D --nodoc --pkgname 'squeakvm' \
+		--pkgversion `grep ' VM_VERSION ' build/config.h | sed 's/.*VERSION //' | sed 's/\"//g'` \
+		make install
+
 clean:
 	rm -rf build build64
 



More information about the Vm-dev mailing list