build: declare test targets as phony 19/13419/2
authorMichael Meffie <mmeffie@sinenomine.net>
Thu, 27 Dec 2018 14:32:35 +0000 (09:32 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 18 Jan 2019 12:56:15 +0000 (07:56 -0500)
commit0bd55a02bb5707b1b8b26347d5cb6ad71765f622
treedd9763a03f1df02422d2804fd182c85d9ad759b3
parentf6182922455aa0cbee19d138b0827eb87dc2b7ce
build: declare test targets as phony

Modern versions `make` will not build the 'test' target since a
directory exists with the same name.

    $ grep -C1 '^test:' Makefile
    test:
        cd test; $(MAKE)

    $ make test
    make: 'test' is up to date.

Declare these targets as .PHONY to force make to build the test programs
even when the 'test' directory is present. Also use '&&' to concatenate
commands instead ';' to avoid running the second command when the first
fails.

Change-Id: Id561d7610f80b87b59c632801fa0a4b216feb42d
Reviewed-on: https://gerrit.openafs.org/13419
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/auth/Makefile.in
src/bozo/Makefile.in
src/comerr/Makefile.in
src/dir/Makefile.in
src/libacl/Makefile.in
src/log/Makefile.in
src/util/Makefile.in
src/venus/Makefile.in
src/vol/Makefile.in