[Python-apps-commits] r4779 - in packages/mercurial/trunk/debian (rules)

vdanjean at users.alioth.debian.org vdanjean at users.alioth.debian.org
Tue Feb 16 01:17:17 UTC 2010


    Date: Tuesday, February 16, 2010 @ 01:17:04
  Author: vdanjean
Revision: 4779

Run tests only if nocheck is not present in DEB_BUILD_OPTIONS

Modified:
  packages/mercurial/trunk/debian/rules

Modified: packages/mercurial/trunk/debian/rules
===================================================================
--- packages/mercurial/trunk/debian/rules	2010-02-16 00:54:43 UTC (rev 4778)
+++ packages/mercurial/trunk/debian/rules	2010-02-16 01:17:04 UTC (rev 4779)
@@ -8,7 +8,9 @@
 
 override_dh_auto_build: $(PYVERS:%=build-python%)
 	$(MAKE) -C doc man
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	$(MAKE) tests
+endif
 	# Do not start a line with a word with a dot in a manpage
 	sed -i -e 's,^[.]\(hgignore\|hg/hgrc\),\\fP\1,' doc/hg.1
 




More information about the Python-apps-commits mailing list