Makefile.am: fix non-POSIX warning from automake
authorAntonio Borneo <borneo.antonio@gmail.com>
Mon, 7 Dec 2020 21:51:46 +0000 (22:51 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 26 Dec 2020 15:47:37 +0000 (15:47 +0000)
commit4fc0f3530c5133ac76b1659d3da55970a32bea94
tree8e75a77b04e7755773d3794f9d6d8792c2da88c0
parent4bc8fd24fb7670065fb4fb0077217d0b8cbcfa45
Makefile.am: fix non-POSIX warning from automake

Automake issues a warning
Makefile.am:46: warning: wildcard $(srcdir: non-POSIX variable name
Makefile.am:46: (probably a GNU make extension)
because the GNU make function 'wildcard' is not POSIX.
Also the GNU make function 'shell' triggers a similar warning.

Use the POSIX extension '!=', that executes an arbitrary shell
command, to replace the GNU make 'wildcard'.
Don't include the file 'NEWS' because automake already includes it
by default.

Change-Id: Ice560c3789cec4f3f2197a255d6f5af7b1fde634
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5965
Tested-by: jenkins
Reviewed-by: Jonathan McDowell <noodles-openocd@earth.li>
Makefile.am