[med-svn] r19132 - trunk/packages/plastimatch/trunk/debian

Greg Sharp gregsharp-guest at moszumanska.debian.org
Mon May 4 23:24:05 UTC 2015


Author: gregsharp-guest
Date: 2015-05-04 23:24:04 +0000 (Mon, 04 May 2015)
New Revision: 19132

Modified:
   trunk/packages/plastimatch/trunk/debian/rules
Log:
Fix plastimatch binary package to remove unneeded header and library files

Modified: trunk/packages/plastimatch/trunk/debian/rules
===================================================================
--- trunk/packages/plastimatch/trunk/debian/rules	2015-05-04 15:19:56 UTC (rev 19131)
+++ trunk/packages/plastimatch/trunk/debian/rules	2015-05-04 23:24:04 UTC (rev 19132)
@@ -5,6 +5,9 @@
 DEB_HOST_ARCH       ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
+PACKAGE   = $(shell dh_listpackages)
+TMP       = $(CURDIR)/debian/$(PACKAGE)
+
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
@@ -28,6 +31,10 @@
 	dh_auto_test || true
 endif
 
+override_dh_auto_install:
+	dh_auto_install
+	rm -rfv $(TMP)/usr/lib
+	rm -rfv $(TMP)/usr/include
 
 get-orig-source:
 	mkdir -p ../tarballs




More information about the debian-med-commit mailing list