r19153 - in /trunk/libcrypt-rijndael-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Fri Apr 25 21:09:11 UTC 2008
Author: gregoa
Date: Fri Apr 25 21:09:10 2008
New Revision: 19153
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19153
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libcrypt-rijndael-perl/debian/changelog
trunk/libcrypt-rijndael-perl/debian/rules
Modified: trunk/libcrypt-rijndael-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcrypt-rijndael-perl/debian/changelog?rev=19153&op=diff
==============================================================================
--- trunk/libcrypt-rijndael-perl/debian/changelog (original)
+++ trunk/libcrypt-rijndael-perl/debian/changelog Fri Apr 25 21:09:10 2008
@@ -1,8 +1,9 @@
libcrypt-rijndael-perl (1.06-1) UNRELEASED; urgency=low
* New upstream release.
+ * Refresh debian/rules, no functional changes.
- -- gregor herrmann <gregoa at debian.org> Fri, 25 Apr 2008 22:59:46 +0200
+ -- gregor herrmann <gregoa at debian.org> Fri, 25 Apr 2008 23:06:01 +0200
libcrypt-rijndael-perl (1.05.02-1) unstable; urgency=low
Modified: trunk/libcrypt-rijndael-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcrypt-rijndael-perl/debian/rules?rev=19153&op=diff
==============================================================================
--- trunk/libcrypt-rijndael-perl/debian/rules (original)
+++ trunk/libcrypt-rijndael-perl/debian/rules Fri Apr 25 21:09:10 2008
@@ -1,28 +1,29 @@
-#! /usr/bin/make -f
-# -*-makefile-*-
-# debian/rules file for libcrypt-rijndael-perl
+#!/usr/bin/make -f
+# This debian/rules file is provided as a template for normal perl
+# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
+# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
+# be used freely wherever it is useful.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
# If set to a true value then MakeMaker's prompt function will
# always return the default without waiting for user input.
export PERL_MM_USE_DEFAULT=1
-PACKAGE=$(shell dh_listpackages)
-TMP=debian/$(PACKAGE)
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
-include /usr/share/quilt/quilt.make
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
+# Allow disabling build optimisation by setting noopt in
+# $DEB_BUILD_OPTIONS
CFLAGS = -Wall -g
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
+ CFLAGS += -O0
else
- CFLAGS += -O2
+ CFLAGS += -O2
endif
build: build-stamp
@@ -31,38 +32,44 @@
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
$(MAKE) test
- touch build-stamp
+ touch $@
clean: unpatch
dh_testdir
+ dh_testroot
dh_clean build-stamp install-stamp
- [ ! -f Makefile ] || ( touch Makefile && $(MAKE) distclean )
+ [ ! -f Makefile ] || ( touch Makefile && $(MAKE) realclean )
install: install-stamp
install-stamp: build-stamp
dh_testdir
dh_testroot
- #dh_clean -k
+ dh_clean -k
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
+ [ ! -d $(TMP)/usr/share/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/share/perl5
+ touch $@
+# Build architecture-independent files here.
binary-indep: build install
+# We have nothing to do here for an architecture-dependent package
+
+# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installdocs
- # There are no examples ATM
- #dh_installexamples examples/*
dh_installchangelogs Changes
+ dh_shlibdeps
dh_strip
dh_perl
dh_compress
dh_fixperms
- dh_shlibdeps
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
-binary: binary-indep binary-arch
-.PHONY: binary binary-arch binary-indep clean checkroot build
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list