From 5f3bdde432aa895d559d6bb11172a641bc5c69b4 Mon Sep 17 00:00:00 2001 From: Andreas Beckmann Date: Thu, 22 May 2014 18:41:46 +0200 Subject: drop a few legacy targets --- debian/rules | 42 +----------------------------------------- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/debian/rules b/debian/rules index 22546ac..9374488 100755 --- a/debian/rules +++ b/debian/rules @@ -122,13 +122,6 @@ include /usr/share/cdbs/1/rules/tarball.mk include /usr/share/cdbs/1/rules/patchsys-quilt.mk DEB_PATCHDIRS = $(CURDIR)/debian/patches/${version_major}/${version_full} -# Default rule -all:: - @echo 'Please specify a real target in the future...'; - $(MAKE) -f debian/rules \ - DEB_BUILD_OPTIONS="${DEB_BUILD_OPTIONS}" \ - binary; - #------------- # Normalize CDBS rules @@ -189,15 +182,6 @@ refresh-faq:: @chmod u-w cf/feature/rhsbl.m4; -#------------- -.PHONY: world -world:: - # Debian build daemons don't (for the nonce) support build-indep, - # so this rule allows *me* to build both arch and indep portions - # of sendmail in one go (so I don't forget). - @dh_testdir; - ${DEB_BUILD}; - #------------------------------------------------------------------------------ # Build/Package check rules #------------------------------------------------------------------------------ @@ -226,30 +210,6 @@ info: # DH_COMPAT = ${DH_COMPAT} #-------------------------------------------------------------------- -#------------- -.PHONY: pristine -pristine:: - #-------------------------------------------------------------------- - # pristine: - # - # Fail if there are any modifications to the original - # tarball, other than the debian directory - @dh_testdir; - if [ -f ../${DEB_SOURCE_PACKAGE}_${DEB_VERSION}.diff.gz ]; then \ - zgrep -e "^\+\+\+ " ../${DEB_SOURCE_PACKAGE}_${DEB_VERSION}.diff.gz \ - | sed -e "/^\+\+\+ $(CURRDIR)\/debian\/.*$$/d" - \ - | [ ! -z - ]; \ - fi; - # - # Check for presence of TLS (crypto) enablement and bitch if found - @if (grep -qEe '^#TLS:[[:space:]]*yes' \ - debian/build/site.config.m4); then \ - echo '** ** --------------------------------------------------- ** **';\ - echo '** ** This package contains crypto support ! Be careful ! ** **';\ - echo '** ** --------------------------------------------------- ** **';\ - fi; - #-------------------------------------------------------------------- - #------------- .PHONY: verify-tarball @@ -495,6 +455,6 @@ common-binary-post-install-arch:: dh_buildinfo #-------------------------------------------------------------------- -binary-makedeb-IMPL/sendmail:: verify-tarball pristine +binary-makedeb-IMPL/sendmail:: verify-tarball -- cgit v1.2.3