add a tar-scripts package to contain --enable-backup-scripts content
[debian/tar] / debian / rules
index 0b85fbf7fffe78cd42f44953baa4a8a3a968e881..fe0fc0a3f41c59556eda6808ca65b3ecac60af58 100755 (executable)
@@ -19,6 +19,7 @@ configure-stamp:
        RSH="/usr/bin/rsh" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure \
                --prefix=/usr \
                --libexecdir=/usr/sbin \
+               --enable-backup-scripts \
                --with-lzma=xz \
                $(CONFARGS) 
        touch configure-stamp
@@ -38,7 +39,6 @@ ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
          echo "Sorry, but the test suite is not designed to be run as root."; \
          exit 1 ;\
        fi
-       (cd tests ; $(MAKE) clean)
        $(MAKE) check
 endif
 endif
@@ -65,6 +65,10 @@ install: build
        mv debian/tar/usr/sbin/rmt debian/tar/usr/sbin/rmt-tar
        install -m 755 debian/tarcat debian/tar/usr/sbin/tarcat
 
+       mv debian/tar/usr/sbin/backup* debian/tar-scripts/usr/sbin/
+       mv debian/tar/usr/sbin/restore debian/tar-scripts/usr/sbin/
+       mv debian/tar/usr/sbin/dump-remind debian/tar-scripts/usr/sbin/
+
 # Build architecture-independent files here.
 binary-indep: build install