From 3a93497468b544cf12ffd0e5f6c24823d1e51111 Mon Sep 17 00:00:00 2001 From: Lucas Carvalho <lucas@nexedi.com> Date: Thu, 25 Feb 2010 16:24:45 +0000 Subject: [PATCH] now is possible to create debian package using a single command: make debian-appliance git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33128 20353a03-c40f-0410-a6d1-a30d3c3de9de --- buildout/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/buildout/Makefile b/buildout/Makefile index 2c3fecd3a7..af17a177c6 100644 --- a/buildout/Makefile +++ b/buildout/Makefile @@ -1,3 +1,5 @@ +INSTALL_PATH='opt/erp5/'`cat VERSION.txt` + software: bin/buildout bin/buildout @@ -35,3 +37,14 @@ assert-parts-libs: 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/ . + -- 2.30.9