r2449 - packages/libchart-perl/trunk/debian
Niko Tyni
ntyni-guest at costa.debian.org
Sun Mar 19 20:09:38 UTC 2006
Author: ntyni-guest
Date: 2006-03-19 20:09:37 +0000 (Sun, 19 Mar 2006)
New Revision: 2449
Modified:
packages/libchart-perl/trunk/debian/rules
Log:
Kludges around the fact that upstream tarball includes a
Makefile for alpha-dec_osf so 'make distclean' doesn't work
Modified: packages/libchart-perl/trunk/debian/rules
===================================================================
--- packages/libchart-perl/trunk/debian/rules 2006-03-19 19:38:43 UTC (rev 2448)
+++ packages/libchart-perl/trunk/debian/rules 2006-03-19 20:09:37 UTC (rev 2449)
@@ -22,7 +22,14 @@
clean: checkroot
rm -f build-stamp
- [ ! -f Makefile ] || $(MAKE) distclean
+ # there's a Makefile for alpha-dec_osf in the upstream tarball of
+ # at least 2.4.1, so we regenerate it to be able to make 'distclean'
+ if [ -f Makefile ]; then \
+ if grep -q alpha-dec_osf Makefile; then \
+ $(PERL) Makefile.PL ;\
+ fi; \
+ $(MAKE) distclean ;\
+ fi
-rm samples/*.png
dh_clean
More information about the Pkg-perl-cvs-commits
mailing list