CVSROOT:        /cvs
Module name:    src
Changes by:     schwa...@cvs.openbsd.org        2016/09/29 05:04:45

Modified files:
        regress/bin/ksh: Makefile 
Added files:
        regress/bin/ksh/main: Makefile 

Log message:
If a Makefile both defines SUBDIR and includes <bsd.regress.mk>,
the "all" target will depend on the "regress" target, so running
"make all" will recurse into the subdirectories for "regress", and
then recurse a second time into the same subdirectories for "all",
running all the tests twice.

Fix this by moving the Makefile to run the main-level tests into
a subdirectory "main" and only including <bsd.subdir.mk> from the
top level Makefile.

Issue reported by otto@; patch OK'ed by otto@ and bluhm@.

Reply via email to