]> granicus.if.org Git - re2c/commit
Makefile.am: use portable POSIX primitive to get directory name.
authorUlya Trofimovich <skvadrik@gmail.com>
Tue, 1 Aug 2017 12:19:06 +0000 (13:19 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Tue, 1 Aug 2017 12:19:06 +0000 (13:19 +0100)
commitcd48d98b34e39fd190b48b35ca371c708af4982b
tree4a8833ebd45864be6a541aac4826adf166da1c89
parentedd31804062f941dd991a2e00e1790afc15060f0
Makefile.am: use portable POSIX primitive to get directory name.

Use '$(@D)' instead of '$(dir $@)', as the latter requires secondary
expansion feature specific to GNU make; it causes build failures on
bmake.

'$(@D)', on the other hand, is a POSIX make feature documented e.g. in
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html
(section "Internal Macros").
re2c/Makefile.am