summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Beckmann <anbe@debian.org>2014-05-21 22:14:52 +0200
committerAndreas Beckmann <anbe@debian.org>2014-05-21 22:14:52 +0200
commit8c74864f4c9563a7afae5dca8cf5b707e986d0d0 (patch)
tree39db2cceda040affa69461d1b6e270068e4d9108
parente498eba7062527fd536d8155b5342c1fdf3ec316 (diff)
downloadsendmail-8c74864f4c9563a7afae5dca8cf5b707e986d0d0.tar.gz
drop ancient, non-functional, and potentially harmful refresh-debian target
-rwxr-xr-xdebian/rules45
1 files changed, 0 insertions, 45 deletions
diff --git a/debian/rules b/debian/rules
index 59a50d8..3618745 100755
--- a/debian/rules
+++ b/debian/rules
@@ -139,51 +139,6 @@ configure:: common-configure-arch common-configure-indep
#-------------
-# Maintainer only rule... copy external debian directory here
-.PHONY: refresh-debian
-refresh-debian::
- @dh_testdir;
- @echo 'updating debian directory ...';
- sudo $(RM) -r debian;
- sudo cp -a ../debian ./;
- sudo $(RM) -rf ${_cdbs_tarball_dir};
- # Remove local testing configuration
- # Make sure directories are writeable by the owner (mine aren't)
- chmod -R ug+w debian;
- -(cd debian && aclocal -I ./build);
- -(cd debian && autoconf);
- -(cd debian && automake);
- # Force a configure here, using $(CURDIR) so the changelog, etc.
- # wind up with the right version numbers
- $(MAKE) -f debian/rules \
- DEB_BUILD_OPTIONS="${DEB_BUILD_OPTIONS}" \
- configure;
- # Need to save these
- /bin/mv -f debian/build/autoconf.mk \
- debian/build/autoconf.mk.save;
- /bin/mv -f debian/changelog \
- debian/changelog.save;
- -(cd debian && $(MAKE) distclean;)
- # Need to save these
- /bin/mv -f debian/build/autoconf.mk.save \
- debian/build/autoconf.mk;
- /bin/mv -f debian/changelog.save \
- debian/changelog;
- $(RM) -r debian/autom4te.cache;
- # Remove pieces not needed for further building
- find debian/patches -type d -a ! -name 'patches' \
- -a ! -name "${version_major}" \
- -a ! -name "${DEB_UPSTREAM_TARBALL_VERSION}" \
- | xargs -r $(RM) -r;
- $(RM) -r debian/bugs debian/private;
- /usr/bin/find debian -type f -name '*.am' | xargs -r $(RM);
- $(RM) \
- debian/aclocal.m4 \
- debian/build/*.m4;
- $(MAKE) -f debian/rules clean-debian;
-
-
-#-------------
# Maintainer only rule... refresh debian/configure and debian/*/Makefile.in
AUTOFOODUMMY = debian/AUTHORS debian/COPYING debian/ChangeLog debian/INSTALL debian/NEWS debian/README
AUTOFOODUMMY += debian/build/debian/changelog.in