[openrtm-commit:01085] r582 - trunk/OpenRTM-aist-Python/packages/deb

openrtm @ openrtm.org openrtm @ openrtm.org
2013年 5月 16日 (木) 21:57:08 JST


Author: n-ando
Date: 2013-05-16 21:57:07 +0900 (Thu, 16 May 2013)
New Revision: 582

Modified:
   trunk/OpenRTM-aist-Python/packages/deb/dpkg_build.sh
Log:
function to create a files file.

Modified: trunk/OpenRTM-aist-Python/packages/deb/dpkg_build.sh
===================================================================
--- trunk/OpenRTM-aist-Python/packages/deb/dpkg_build.sh	2013-05-10 00:32:06 UTC (rev 581)
+++ trunk/OpenRTM-aist-Python/packages/deb/dpkg_build.sh	2013-05-16 12:57:07 UTC (rev 582)
@@ -127,6 +127,17 @@
   mv ${PKG_NAME} ${BUILD_ROOT}
 }
 
+create_files()
+{
+  eval `dpkg-architecture`
+  ARCH=$DEB_HOST_ARCH
+cat << EOF >> debian/files
+openrtm-aist-python_1.1.0-1_$ARCH.deb main extra
+openrtm-aist-python-example_1.1.0-1_$ARCH.deb main extra
+openrtm-aist-python-doc_1.1.0-1_all.deb main extra
+EOF
+}
+
 copy_control_files()
 {
   chmod 444 debian/files
@@ -168,6 +179,7 @@
 cleanup_files
 create_source_package
 extract_source
+create_files
 copy_control_files
 
 build_package



More information about the openrtm-commit mailing list