]> granicus.if.org Git - curl/commit
Makefile: avoid use of GNU-specific form of $<
authorDan Fandrich <dan@coneharvesters.com>
Sun, 23 Apr 2017 07:49:59 +0000 (09:49 +0200)
committerDan Fandrich <dan@coneharvesters.com>
Mon, 24 Apr 2017 19:38:11 +0000 (21:38 +0200)
commit80a87e8abc535aadf28bd154fdf5d44e61ef2080
tree490a127575a4c730e4e1db8f1898bfcd8bc5bb67
parentc8ac0b6a7f9d308fcfe404d445a013b9a2c58845
Makefile: avoid use of GNU-specific form of $<

$< is only allowed in implicit rules in some non-GNU makes (e.g. BSD,
AIX) so avoid use elsewhere by referencing the dependent curl.1 file
directly instead. This is somewhat tricky because the file is supplied
in the packaged tar ball (but not in git) but must still be able to be
rebuilt when its dependencies change. The right thing must happen in
both tar ball and git source trees, as well as in both in-tree and
out-of-tree builds.
docs/Makefile.am
src/Makefile.am