Commits

cboos  committed 5123b58

Makefile: fix `show-coverage` target, as coverage 3.3.1 on Linux tries to look into templates.

Note that for some reason this wasn't a problem on Windows.

(a work in progress version of the change went into r9886 by mistake...)

  • Participants
  • Parent commits 1d3729e
  • Branches trunk

Comments (0)

Files changed (1)

 
 htmlcov/index.html:
 	coverage html \
-            --omit=trac/templates \
-            $(foreach t,$(wildcard trac/*/templates), --omit=$(t))
+	    --omit=$(subst $(space),$(comma),$(wildcard trac/*/templates)),trac/templates
 
 # ----------------------------------------------------------------------------
 #
 endif
 export PYTHONPATH := .$(SEP)$(PYTHONPATH)
 export TRAC_TEST_DB_URI = $($(db).uri)
+
+# Misc.
+space = $(empty) $(empty)
+comma = ,
 # ----------------------------------------------------------------------------