Commit 2292b2d6 authored by Lucas Carvalho's avatar Lucas Carvalho

Before building the DEBs we need to clean the buildout, removing all the files...

Before building the DEBs we need to clean the buildout, removing all the files into downloads folder and any folder used to compile any software.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36256 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f0a99222
......@@ -32,8 +32,10 @@ debian-appliance:
cd $(SOFTWARE_BUILD_PATH); $(MAKE) $(MFLAGS)
mkdir -p debian-erp5-appliance/debian/erp5-$(PACKAGE_VERSION)/$(PACKAGE_INSTALL_PATH)
mv $(SOFTWARE_BUILD_PATH)/* debian-erp5-appliance/debian/erp5-$(PACKAGE_VERSION)/$(PACKAGE_INSTALL_PATH)
rm -rf `find debian-erp5-appliance/ -type d -name .svn`
rm -rf `find debian-erp5-appliance/ -name *.pyc`
find debian-erp5-appliance/debian/erp5-$(PACKAGE_VERSION)/$(PACKAGE_INSTALL_PATH) -type d -name .svn -exec rm -rf {} \;
find debian-erp5-appliance/debian/erp5-$(PACKAGE_VERSION)/$(PACKAGE_INSTALL_PATH) -name '*.pyc' -delete
rm -rf debian-erp5-appliance/debian/erp5-$(PACKAGE_VERSION)/$(PACKAGE_INSTALL_PATH)/downloads/*
rm -rf debian-erp5-appliance/debian/erp5-$(PACKAGE_VERSION)/$(PACKAGE_INSTALL_PATH)/parts/*__unpack__
cd debian-erp5-appliance/; sudo dpkg-buildpackage -b
svn co https://svn.erp5.org/repos/public/spec/debian-tiolive-application/ debian-tiolive-application
sed -i "s,__PACKAGE_VERSION__,$(PACKAGE_VERSION),g" debian-tiolive-application/debian/rules
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment