echo "Sorry, but the test suite is not designed to be run as root."; \
exit 1 ;\
fi
- $(MAKE) check
+ $(MAKE) check || { cat tests/testsuite.log; false; }
endif
endif
- perl debian/tarman > debian/tar.1
touch build-stamp
clean:
dh_testdir
dh_testroot
- rm -f build-stamp configure-stamp debian/tar.1
+ rm -f build-stamp configure-stamp
[ ! -f Makefile ] || $(MAKE) distclean
dh_clean
install: build
dh_testdir
dh_testroot
- dh_clean -k
+ dh_prep
dh_installdirs
make install bindir=`pwd`/debian/tar/bin prefix=`pwd`/debian/tar/usr \
dh_installexamples
dh_installmenu
dh_installcron
- dh_installman debian/tar.1 debian/rmt.8 debian/tarcat.1
+ dh_installman doc/tar.1 doc/rmt.8 debian/tarcat.1
mv debian/tar/usr/share/man/man8/rmt.8 \
debian/tar/usr/share/man/man8/rmt-tar.8
dh_installinfo