r2305 - in zope-debhelper/trunk/debian (control rules)
mejo at users.alioth.debian.org
mejo at users.alioth.debian.org
Tue Jun 21 10:58:14 UTC 2011
Date: Tuesday, June 21, 2011 @ 10:58:13
Author: mejo
Revision: 2305
modify rules to satisfy lintian
Modified:
zope-debhelper/trunk/debian/control
zope-debhelper/trunk/debian/rules
Modified: zope-debhelper/trunk/debian/control
===================================================================
--- zope-debhelper/trunk/debian/control 2011-06-21 10:49:09 UTC (rev 2304)
+++ zope-debhelper/trunk/debian/control 2011-06-21 10:58:13 UTC (rev 2305)
@@ -11,7 +11,7 @@
Package: zope-debhelper
Architecture: all
-Depends: ${perl:Depends}, debhelper (>= 4.2.32)
+Depends: ${perl:Depends}, ${misc:Depends}, debhelper (>= 4.2.32)
Suggests: zope-common
Description: debhelper script for zope packaging
The package contains dh_installzope and dh_installzopeinstance debhelper
Modified: zope-debhelper/trunk/debian/rules
===================================================================
--- zope-debhelper/trunk/debian/rules 2011-06-21 10:49:09 UTC (rev 2304)
+++ zope-debhelper/trunk/debian/rules 2011-06-21 10:58:13 UTC (rev 2305)
@@ -7,8 +7,19 @@
VERSION=$(shell expr "`dpkg-parsechangelog 2>/dev/null |grep Version:`" : '.*Version: \(.*\)')
POD2MAN=pod2man -c Debhelper -r "$(VERSION)"
-build:
+build-indep:
+ $(POD2MAN) dh_installzope dh_installzope.1
+ $(POD2MAN) dh_installzopeinstance dh_installzopeinstance.1
+ for p in autoscripts/*-dzproduct; do \
+ e=$$(echo $$p | sed 's/dzproduct/dzextension/'); \
+ sed 's/product/extension/g' $$p > $$e; \
+ done
+
+build-arch:
+
+build: build-indep build-arch
+
clean:
dh_testdir
dh_testroot
@@ -27,17 +38,11 @@
usr/share/debhelper/autoscripts
cp -p dh_installzope debian/zope-debhelper/usr/bin/
- $(POD2MAN) dh_installzope dh_installzope.1
cp -p dh_installzope.1 debian/zope-debhelper/usr/share/man/man1/
cp -p dh_installzopeinstance debian/zope-debhelper/usr/bin/
- $(POD2MAN) dh_installzopeinstance dh_installzopeinstance.1
cp -p dh_installzopeinstance.1 debian/zope-debhelper/usr/share/man/man1/
- for p in autoscripts/*-dzproduct; do \
- e=$$(echo $$p | sed 's/dzproduct/dzextension/'); \
- sed 's/product/extension/g' $$p > $$e; \
- done
cp -p autoscripts/* debian/zope-debhelper/usr/share/debhelper/autoscripts/
# Build architecture-independent files here.
@@ -59,4 +64,5 @@
# We have nothing to do by default.
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+
+.PHONY: build-indep build-arch build binary-indep binary-arch binary install clean
More information about the pkg-zope-developers
mailing list