r20491 - in /trunk/libyaml-syck-perl/debian: changelog rules

yvesago-guest at users.alioth.debian.org yvesago-guest at users.alioth.debian.org
Wed May 28 20:32:06 UTC 2008


Author: yvesago-guest
Date: Wed May 28 20:32:05 2008
New Revision: 20491

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20491
Log:
* refresh rules with "dh-make-perl -R --arch any" to fix false indep dep rules file, thx gregoa
* add more details in changelog

Modified:
    trunk/libyaml-syck-perl/debian/changelog
    trunk/libyaml-syck-perl/debian/rules

Modified: trunk/libyaml-syck-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libyaml-syck-perl/debian/changelog?rev=20491&op=diff
==============================================================================
--- trunk/libyaml-syck-perl/debian/changelog (original)
+++ trunk/libyaml-syck-perl/debian/changelog Wed May 28 20:32:05 2008
@@ -14,11 +14,12 @@
    > So I will make the same proposition than libuniversal-require-perl : if
    you don't have enough time I can make the update with the help of Perl 
    Debian Group." 
-  * refresh rules
-  * fix control to standards version 3.7.3
+  * refresh rules with "dh-make-perl -R --arch any", remove useless comment,
+    add COMPATIBILITY file in docs
+  * fix control to standards version 3.7.3, add vcs and homepage entries
   * fix watch to version 3
   * fix compat to version 5
-  * fix copyright format
+  * fix copyright format to proposal update
   * New upstream release
 
  -- AGOSTINI Yves <agostini at univ-metz.fr>  Tue, 27 May 2008 21:25:23 +0200

Modified: trunk/libyaml-syck-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libyaml-syck-perl/debian/rules?rev=20491&op=diff
==============================================================================
--- trunk/libyaml-syck-perl/debian/rules (original)
+++ trunk/libyaml-syck-perl/debian/rules Wed May 28 20:32:05 2008
@@ -15,11 +15,20 @@
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
+# Allow disabling build optimisation 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)
+	$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
 	$(MAKE) test
 	touch $@
 
@@ -35,15 +44,17 @@
 	dh_testroot
 	dh_clean -k
 	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || \
+	[ ! -d $(TMP)/usr/share/perl5 ] || \
 		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/lib/perl5
+		$(TMP)/usr/share/perl5
 	touch $@
 
-binary-arch:
-# We have nothing to do here for an architecture-independent package
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do here for an architecture-dependent package
 
-binary-indep: build install
+# Build architecture-dependent files here.
+binary-arch: build install
 	dh_testdir
 	dh_testroot
 	dh_installdocs COMPATIBILITY




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