r17292 - in /trunk/libsyntax-highlight-perl-improved-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Wed Mar 12 19:35:27 UTC 2008
Author: gregoa-guest
Date: Wed Mar 12 19:35:26 2008
New Revision: 17292
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=17292
Log:
debian/rules: update based on dh-make-perl's templates.
Modified:
trunk/libsyntax-highlight-perl-improved-perl/debian/changelog
trunk/libsyntax-highlight-perl-improved-perl/debian/rules
Modified: trunk/libsyntax-highlight-perl-improved-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsyntax-highlight-perl-improved-perl/debian/changelog?rev=17292&op=diff
==============================================================================
--- trunk/libsyntax-highlight-perl-improved-perl/debian/changelog (original)
+++ trunk/libsyntax-highlight-perl-improved-perl/debian/changelog Wed Mar 12 19:35:26 2008
@@ -4,11 +4,12 @@
field (source stanza); Homepage field (source stanza). Removed: XS-
Vcs-Svn fields.
* debian/rules: delete /usr/lib/perl5 only if it exists (closes: #468018).
+ * debian/rules: update based on dh-make-perl's templates.
* debian/watch: use dist-based URL.
* Set Standards-Version to 3.7.3 (no changes).
* debian/copyright: use generic download URL.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 12 Mar 2008 20:30:11 +0100
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Wed, 12 Mar 2008 20:32:32 +0100
libsyntax-highlight-perl-improved-perl (1.01-2) unstable; urgency=low
Modified: trunk/libsyntax-highlight-perl-improved-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsyntax-highlight-perl-improved-perl/debian/rules?rev=17292&op=diff
==============================================================================
--- trunk/libsyntax-highlight-perl-improved-perl/debian/rules (original)
+++ trunk/libsyntax-highlight-perl-improved-perl/debian/rules Wed Mar 12 19:35:26 2008
@@ -22,45 +22,37 @@
TMP =$(CURDIR)/debian/$(PACKAGE)
build: build-stamp
-build-stamp: patch
+build-stamp: $(QUILT_STAMPFN)
dh_testdir
- # Add commands to compile the package here
$(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-Wall -O2 -g"
+ $(MAKE)
- touch build-stamp
+ touch $@
clean: unpatch
dh_testdir
dh_testroot
- # Add commands to clean up after the build process here
+ dh_clean build-stamp install-stamp
[ ! -f Makefile ] || $(MAKE) realclean
- dh_clean build-stamp install-stamp
-
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- # Add commands to install the package into debian/$PACKAGE_NAME here
- $(MAKE) test
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
dh_installdirs usr/bin
dh_install viewperl usr/bin
-
- # As this is a architecture independent package, we are not
- # supposed to install stuff to /usr/lib. MakeMaker creates
- # the dirs, we delete them from the deb:
+
[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
- touch install-stamp
+ touch $@
binary-arch:
-# We have nothing to do by default.
+# We have nothing to do here for an architecture-independent package
binary-indep: build install
dh_testdir
@@ -69,8 +61,6 @@
dh_installchangelogs ChangeLog
dh_installman debian/viewperl.1
dh_perl
- dh_link
- dh_strip
dh_compress
dh_fixperms
dh_installdeb
@@ -82,4 +72,4 @@
@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list