r11623 - in /trunk/libparse-cpan-packages-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Tue Dec 25 22:54:12 UTC 2007


Author: gregoa-guest
Date: Tue Dec 25 22:54:12 2007
New Revision: 11623

URL: http://svn.debian.org/wsvn/?sc=1&rev=11623
Log:
debian/rules:
  - remove compiler flags (this is an arch:all package)
  - move tests to build target
  - move dh_clean before make distclean
  - remove unused dh_* calls

Modified:
    trunk/libparse-cpan-packages-perl/debian/changelog
    trunk/libparse-cpan-packages-perl/debian/rules

Modified: trunk/libparse-cpan-packages-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libparse-cpan-packages-perl/debian/changelog?rev=11623&op=diff
==============================================================================
--- trunk/libparse-cpan-packages-perl/debian/changelog (original)
+++ trunk/libparse-cpan-packages-perl/debian/changelog Tue Dec 25 22:54:12 2007
@@ -8,6 +8,11 @@
     - set Standards-Version to 3.7.3 (no changes required)
     - wrap long lines
   * debian/watch: use dist-based URL.
+  * debian/rules:
+    - remove compiler flags (this is an arch:all package)
+    - move tests to build target
+    - move dh_clean before make distclean
+    - remove unused dh_* calls
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:31:29 +0200
 

Modified: trunk/libparse-cpan-packages-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libparse-cpan-packages-perl/debian/rules?rev=11623&op=diff
==============================================================================
--- trunk/libparse-cpan-packages-perl/debian/rules (original)
+++ trunk/libparse-cpan-packages-perl/debian/rules Tue Dec 25 22:54:12 2007
@@ -13,29 +13,21 @@
 
 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
 
 	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) OPTIMIZE="$(CFLAGS)" 
+	$(MAKE)
+	$(MAKE) test
 
 	touch build-stamp
 
 clean:
 	dh_testdir
 	dh_testroot
+	dh_clean build-stamp install-stamp
 	[ ! -f Makefile ] || $(MAKE) distclean
-	dh_clean build-stamp install-stamp
 
 install: install-stamp
 install-stamp: build-stamp
@@ -43,7 +35,6 @@
 	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
@@ -59,11 +50,8 @@
 	dh_testdir
 	dh_testroot
 	dh_installdocs README
-#	dh_installexamples
 	dh_perl
 	dh_installchangelogs CHANGES
-	dh_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb




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