projects
/
debian
/
tar
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Respect DEB_BUILD_OPTIONS=nocheck to conform with Debian Policy 3.8.2
[debian/tar]
/
debian
/
rules
diff --git
a/debian/rules
b/debian/rules
index 6a369a4127c82ee60828e205cd5f618795ee26b1..54246aecdd2afdbe506079dd2f76cae1a49d8951 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-20,9
+20,11
@@
build-stamp: configure-stamp
dh_testdir
RSH="/usr/bin/rsh" CFLAGS="-O2 -g -Wall -fno-gnu89-inline" $(MAKE)
dh_testdir
RSH="/usr/bin/rsh" CFLAGS="-O2 -g -Wall -fno-gnu89-inline" $(MAKE)
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
(cd tests ; $(MAKE) clean)
$(MAKE) check
ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
(cd tests ; $(MAKE) clean)
$(MAKE) check
+endif
endif
perl debian/tarman > debian/tar.1
endif
perl debian/tarman > debian/tar.1