[Erp5-report] r33128 lucas - /erp5/trunk/buildout/Makefile

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Feb 25 17:24:46 CET 2010


Author: lucas
Date: Thu Feb 25 17:24:45 2010
New Revision: 33128

URL: http://svn.erp5.org?rev=33128&view=rev
Log:
now is possible to create debian package using a single command: make debian-appliance

Modified:
    erp5/trunk/buildout/Makefile

Modified: erp5/trunk/buildout/Makefile
URL: http://svn.erp5.org/erp5/trunk/buildout/Makefile?rev=33128&r1=33127&r2=33128&view=diff
==============================================================================
--- erp5/trunk/buildout/Makefile [utf8] (original)
+++ erp5/trunk/buildout/Makefile [utf8] Thu Feb 25 17:24:45 2010
@@ -1,3 +1,5 @@
+INSTALL_PATH='opt/erp5/'`cat VERSION.txt`
+
 software: bin/buildout
 	bin/buildout
 
@@ -35,3 +37,14 @@
 	ldd parts/mysql-tritonn-5.0/libexec/mysqld | grep 'parts/senna/lib/libsenna.so.0'
 	ldd develop-eggs/MySQL_python-1.2.3c1-py2.4-linux-x86_64.egg/_mysql.so | grep 'parts/mysql-tritonn-5.0/lib/mysql/libmysqlclient_r.so'
 	ldd parts/memcached/bin/memcached | grep 'parts/libevent/lib/libevent'
+
+debian-appliance:
+	svn co https://svn.erp5.org/repos/public/spec/debian-erp5-appliance/ debian-erp5-appliance
+	cd debian-erp5-appliance/$(INSTALL_PATH)
+	make
+	rm -rf debian-erp5-appliance/*.txt
+	rm -rf `find . -type d -name .svn`
+	rm -rf `find . -name *.pyc`
+	cd ../../../../
+	dpkg-deb -b debian-erp5-appliance/ .
+




More information about the Erp5-report mailing list