r1518 - packages/libauthen-krb5-perl/trunk/debian

Russ Allbery rra-guest at costa.debian.org
Fri Nov 18 06:47:19 UTC 2005


Author: rra-guest
Date: 2005-11-18 06:47:18 +0000 (Fri, 18 Nov 2005)
New Revision: 1518

Modified:
   packages/libauthen-krb5-perl/trunk/debian/changelog
   packages/libauthen-krb5-perl/trunk/debian/rules
Log:
* Use a better method of optionally running make distclean.

Modified: packages/libauthen-krb5-perl/trunk/debian/changelog
===================================================================
--- packages/libauthen-krb5-perl/trunk/debian/changelog	2005-11-18 06:36:06 UTC (rev 1517)
+++ packages/libauthen-krb5-perl/trunk/debian/changelog	2005-11-18 06:47:18 UTC (rev 1518)
@@ -1,8 +1,9 @@
 libauthen-krb5-perl (1.4-4) unstable; urgency=low
 
+  * Use a better method of optionally running make distclean.
   * Update maintainer address.
 
- --
+ -- Russ Allbery <rra at debian.org>  Thu, 17 Nov 2005 22:37:28 -0800
 
 libauthen-krb5-perl (1.4-3) unstable; urgency=low
 

Modified: packages/libauthen-krb5-perl/trunk/debian/rules
===================================================================
--- packages/libauthen-krb5-perl/trunk/debian/rules	2005-11-18 06:36:06 UTC (rev 1517)
+++ packages/libauthen-krb5-perl/trunk/debian/rules	2005-11-18 06:47:18 UTC (rev 1518)
@@ -16,11 +16,8 @@
 
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
+PERL   ?= /usr/bin/perl
 
-ifndef PERL
-    PERL = /usr/bin/perl
-endif
-
 CFLAGS = -Wall -g
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
     CFLAGS += -O0
@@ -38,7 +35,9 @@
 clean:
 	dh_testdir
 	dh_testroot
-	-$(MAKE) distclean
+ifeq (Makefile,$(wildcard Makefile))
+	$(MAKE) distclean
+endif
 	dh_clean build-stamp install-stamp
 
 install: install-stamp




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