[Erp5-report] r43539 rafael - /erp5/trunk/utils/rpmgen/specs/erp5-official-software-deb/deb...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Feb 21 22:26:27 CET 2011
Author: rafael
Date: Mon Feb 21 22:26:27 2011
New Revision: 43539
URL: http://svn.erp5.org?rev=43539&view=rev
Log:
Fix rules.
Modified:
erp5/trunk/utils/rpmgen/specs/erp5-official-software-deb/debian/rules
Modified: erp5/trunk/utils/rpmgen/specs/erp5-official-software-deb/debian/rules
URL: http://svn.erp5.org/erp5/trunk/utils/rpmgen/specs/erp5-official-software-deb/debian/rules?rev=43539&r1=43538&r2=43539&view=diff
==============================================================================
--- erp5/trunk/utils/rpmgen/specs/erp5-official-software-deb/debian/rules [utf8] (original)
+++ erp5/trunk/utils/rpmgen/specs/erp5-official-software-deb/debian/rules [utf8] Mon Feb 21 22:26:27 2011
@@ -11,6 +11,7 @@
VERSION_NUMBER=5.4.7
INSTALL_PATH=/opt/erp5/$(VERSION_NUMBER)
+PACKAGE_DIR=$(CURDIR)/debian/erp5-official-software
configure:
# We have nothing to do.
@@ -25,11 +26,12 @@ clean:
install: build
dh_testdir
dh_testroot
- 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
- rm -rf $(CURDIR)/debian/tmp$(INSTALL_PATH)/downloads/*
- rm -rf $(CURDIR)/debian/tmp$(INSTALL_PATH)/parts/*__unpack__
+ mkdir -p $(PACKAGE_DIR)
+ cp -ar --parents $(INSTALL_PATH) $(PACKAGE_DIR)
+ find $(PACKAGE_DIR) -type d -name '.svn' | xargs -d '\n' rm -rf
+ find $(PACKAGE_DIR) -name '*.pyc' -delete
+ rm -rf $(PACKAGE_DIR)$(INSTALL_PATH)/downloads/*
+ rm -rf $(PACKAGE_DIR)$(INSTALL_PATH)/parts/*__unpack__
# Build architecture-independent files here.
binary-indep: install
@@ -66,5 +68,5 @@ binary-arch: install
dh_md5sums
dh_builddeb
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+binary: binary-arch
+.PHONY: build clean binary-arch binary install configure
More information about the Erp5-report
mailing list