[openrtm-commit:02362] r2911 - trunk/OpenRTM-aist/packages/deb/debian

openrtm @ openrtm.org openrtm @ openrtm.org
2017年 1月 31日 (火) 12:01:14 JST


Author: kawauchi
Date: 2017-01-31 12:01:14 +0900 (Tue, 31 Jan 2017)
New Revision: 2911

Modified:
   trunk/OpenRTM-aist/packages/deb/debian/rules
Log:
[compat,->RELENG_1_2] Example directory has been removed from openrtm-aist deb package. refs #3891

Modified: trunk/OpenRTM-aist/packages/deb/debian/rules
===================================================================
--- trunk/OpenRTM-aist/packages/deb/debian/rules	2017-01-31 01:44:20 UTC (rev 2910)
+++ trunk/OpenRTM-aist/packages/deb/debian/rules	2017-01-31 03:01:14 UTC (rev 2911)
@@ -24,6 +24,9 @@
 # Multiarch support
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
+# short version number
+SHORT_VER := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p' | cut -b 1-3)
+
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -106,6 +109,7 @@
 	(cd $(CURDIR)/utils/rtm-naming   ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist install)
 	(cd $(CURDIR)/utils/rtm-config   ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist install)
 	(cd $(CURDIR)/src/ext            ; $(MAKE) DESTDIR=$(CURDIR)/debian/openrtm-aist install)
+	(rm -r $(CURDIR)/debian/openrtm-aist/usr/share/openrtm-$(SHORT_VER))
 
 	# for openrtm-dev package
 	#$(MAKE)



More information about the openrtm-commit mailing list