[boinc] 07/12: Remove some old commented code

Gianfranco Costamagna locutusofborg-guest at moszumanska.debian.org
Wed Aug 13 20:30:43 UTC 2014


This is an automated email from the git hooks/post-receive script.

locutusofborg-guest pushed a commit to branch master
in repository boinc.

commit a7ef034fd0cb0c8040021e7befd633f779f6e0d4
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Tue Aug 12 20:10:12 2014 +0200

    Remove some old commented code
---
 debian/rules | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/debian/rules b/debian/rules
index c3e90fa..c4d0ec9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -129,9 +129,7 @@ CXXFLAGS_boinc-client := $(CXXFLAGS)
 $(shell cp debian/control.in debian/control)
 $(shell sed '/^#/d' -i debian/control)
 
-# check if we need to enable server packages, based on "exp" string in changelog
 ENABLE_SERVER_TEST := $(shell dpkg-parsechangelog | egrep '^Distribution:' |egrep -v 'experimental|UNRELEASED')
-#ENABLE_SERVER_TEST := $(shell egrep '^Package:.*boinc-server-maker' debian/control debian/control.in | grep -v boinc-server-maker)
 
 ifeq (,$(ENABLE_SERVER_TEST))
 $(shell sed 's/^%//' -i debian/control)
@@ -178,26 +176,8 @@ CFGFLAGS_boinc-client = \
   LDFLAGS="$(LDFLAGS)"
 
 
-# Default rule
-
 %:
 	dh $@ --with python2 --parallel
-#	if [ ! -f debian/control -o debian/control.in -nt debian/control ]; then \
-		echo "Generating debian/control file from debian/control.in" ; \
-		( \
-		if egrep -q '^Package:.*boinc-server-maker' debian/control.in; then \
-			sed -e 's/^%//' debian/control.in ; \
-		else \
-			egrep -v '^%' debian/control.in ; \
-		fi \
-		) | ( \
-		if egrep -q '^Package:.*boinc$$' debian/control.in; then \
-			sed -e 's/^@//' ; \
-		else \
-			sed -e '/^@/d' ; \
-		fi \
-		) > debian/control; \
-	fi
 
 override_dh_clean:
 	dh_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-boinc/boinc.git



More information about the pkg-boinc-commits mailing list