build system consistency in target names for unit test targets
authorMorgan Deters <mdeters@gmail.com>
Mon, 13 Sep 2010 23:34:47 +0000 (23:34 +0000)
committerMorgan Deters <mdeters@gmail.com>
Mon, 13 Sep 2010 23:34:47 +0000 (23:34 +0000)
Makefile.subdir

index 9eec964e016621ac780f6a524bd4ca03ebfdfcb2..4b3afdbbf8f749490ce9861451cc10a13c3615b8 100644 (file)
@@ -18,11 +18,11 @@ all %:
                echo; \
        fi
 
-.PHONY: check
+.PHONY: check units
 ifeq ($(srcdir:test/%=test),test)
 # under the test/ directory, additional subtargets
 .PHONY: regress0 regress1 regress2 regress3
-check regress0 regress1 regress2 regress3:
+check units regress0 regress1 regress2 regress3:
        @if test -e $(builddir); then \
                echo cd $(builddir); \
                cd $(builddir); \
@@ -34,7 +34,7 @@ check regress0 regress1 regress2 regress3:
                echo; \
        fi
 else
-check:
+check units:
        @if test -e $(unittestdir); then \
                echo cd $(unittestdir); \
                cd $(unittestdir); \