r9476 - in /trunk/libclass-default-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Sat Nov 17 13:44:46 UTC 2007


Author: gregoa-guest
Date: Sat Nov 17 13:44:44 2007
New Revision: 9476

URL: http://svn.debian.org/wsvn/?sc=1&rev=9476
Log:
debian/rules:
  - Remove CFLAGS and OPTIMIZE, we don't compile anything.
  - Remove comments and empty lines.
  - Remove unused and useless dh_* calls (dh_link, dh_strip).

Modified:
    trunk/libclass-default-perl/debian/changelog
    trunk/libclass-default-perl/debian/rules

Modified: trunk/libclass-default-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libclass-default-perl/debian/changelog?rev=9476&op=diff
==============================================================================
--- trunk/libclass-default-perl/debian/changelog (original)
+++ trunk/libclass-default-perl/debian/changelog Sat Nov 17 13:44:44 2007
@@ -6,6 +6,10 @@
   * New upstream release.
   * debian/copyright: Add upstream URL, update author's email address and
     years of copyright.
+  * debian/rules:
+    - Remove CFLAGS and OPTIMIZE, we don't compile anything.
+    - Remove comments and empty lines.
+    - Remove unused and useless dh_* calls (dh_link, dh_strip).
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:27:59 +0200
 

Modified: trunk/libclass-default-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libclass-default-perl/debian/rules?rev=9476&op=diff
==============================================================================
--- trunk/libclass-default-perl/debian/rules (original)
+++ trunk/libclass-default-perl/debian/rules Sat Nov 17 13:44:44 2007
@@ -19,22 +19,11 @@
 
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
-# Allow disabling build optimation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-        CFLAGS += -O0
-else
-        CFLAGS += -O2
-endif
-
 build: build-stamp
 build-stamp:
 	dh_testdir
-
-	# Add commands to compile the package here
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)"
+	$(MAKE)
 	$(MAKE) test	
 
 	touch build-stamp
@@ -42,10 +31,7 @@
 clean:
 	dh_testdir
 	dh_testroot
-
-	# Add commands to clean up after the build process here
 	if [ -e Makefile ]; then $(MAKE) distclean; fi
-	
 	dh_clean build-stamp install-stamp
 
 install: install-stamp
@@ -53,8 +39,6 @@
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-
-	#$(MAKE) test
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
 	
 	# As this is a architecture independent package, we are not supposed to install
@@ -69,14 +53,9 @@
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-#	dh_installcron
-#	dh_installmenu
-#	dh_installexamples
 	dh_installdocs README
 	dh_installchangelogs Changes
 	dh_perl
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb




More information about the Pkg-perl-cvs-commits mailing list