--- tar.old/debian/rules Tue Jul 29 17:59:40 2008 +++ /opt/emdebian/trunk/t/tar/trunk/tar-1.20/debian/rules Tue Jul 29 18:00:26 2008 @@ -3,7 +3,7 @@ DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_HOST_GNU_TYPE = $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) -CONFARGS = --host=$(DEB_HOST_GNU_TYPE) +CONFARGS = --host=$(DEB_HOST_GNU_TYPE) --cache-file=$(DEB_HOST_GNU_TYPE).cache endif configure: configure-stamp @@ -31,7 +31,7 @@ dh_testdir dh_testroot rm -f build-stamp configure-stamp - + rm -rf debian/tmp [ ! -f Makefile ] || $(MAKE) distclean -test -r /usr/share/misc/config.sub && \ @@ -48,9 +48,10 @@ dh_installdirs make install bindir=`pwd`/debian/tar/bin prefix=`pwd`/debian/tar/usr \ - libexecdir=`pwd`/debian/tar/usr/sbin + libexecdir=`pwd`/debian/tar/usr/sbin install -m 755 debian/rmt.sh debian/tar/etc/rmt mv debian/tar/usr/sbin/rmt debian/tar/usr/sbin/rmt-tar + rm -rf debian/tar/usr/share/locale # Build architecture-independent files here. binary-indep: build install @@ -59,21 +60,11 @@ binary-arch: build install dh_testdir dh_testroot - dh_installdocs - mv -f debian/tar/usr/share/doc/tar/ChangeLog \ - debian/tar/usr/share/doc/tar/changelog - mv -f debian/tar/usr/share/doc/tar/ChangeLog.1 \ - debian/tar/usr/share/doc/tar/changelog.1 - dh_installexamples dh_installmenu dh_installcron - dh_installman debian/tar.1 debian/rmt.8 - mv debian/tar/usr/share/man/man8/rmt.8 \ - debian/tar/usr/share/man/man8/rmt-tar.8 - dh_installinfo - rm -f debian/tar/usr/share/info/dir* + rm -rf debian/tar/usr/share/info/ + rm -rf debian/tar/usr/share/man/ dh_installmime - dh_installchangelogs #CHANGELOGS# dh_link dh_strip dh_compress