[Erp5-report] r35038 lucas - /spec/debian-tiolive-application/debian/rules

nobody at svn.erp5.org nobody at svn.erp5.org
Thu May 6 07:20:37 CEST 2010


Author: lucas
Date: Thu May  6 07:20:36 2010
New Revision: 35038

URL: http://svn.erp5.org?rev=35038&view=rev
Log:
Fixed the installation procedure. Removed .svn folders and .pyc files.

Modified:
    spec/debian-tiolive-application/debian/rules

Modified: spec/debian-tiolive-application/debian/rules
URL: http://svn.erp5.org/spec/debian-tiolive-application/debian/rules?rev=35038&r1=35037&r2=35038&view=diff
==============================================================================
--- spec/debian-tiolive-application/debian/rules [utf8] (original)
+++ spec/debian-tiolive-application/debian/rules [utf8] Thu May  6 07:20:36 2010
@@ -27,11 +27,12 @@
 	dh_testroot
 	rm -rf $(INSTALL_PATH)
 
-install: build
+install:
 	dh_testdir
 	dh_testroot
-	mkdir -p $(CURDIR)/debian/tiolive-application-$(VERSION)$(INSTALL_PATH)
-	cp -rf $(INSTALL_PATH) $(CURDIR)/debian/tiolive-application-$(VERSION)$(INSTALL_PATH)
+	cp -ar --parents $(INSTALL_PATH) $(CURDIR)/debian/tmp
+	find $(CURDIR)/debian/tmp -type d -name '.svn' | xargs -d '\n' rm -rf
+	find $(CURDIR)/debian/tmp -name '*.pyc' -delete
 
 # Build architecture-dependent files here.
 binary-arch: install




More information about the Erp5-report mailing list