From: Eric B. <eb...@by...> - 2006-02-17 05:43:46
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Eric Blake on 2/16/2006 10:29 PM: > The following code in Makefile.am's install-data-hook has a severe bug, > and I'm not sure how to work around it. Furthermore, the code is tied to > GNU make, and is not portable to other make programs: But, as long as we are requiring GNU make, the attached hack seemed to do the trick (it depends on the -ef operator in GNU coreutils' test, and I don't know of any other easy way to prove that /foo and /foo/ are (not) the same directory in makefile syntax). Please don't install this hack as an official patch; rather, use it as a starting point for what needs to be improved in this hook to overcome its current bug. - -- Life is short - so eat dessert first! Eric Blake eb...@by... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFD9WJ/84KuGfSFAYARAj1QAKDCIEs5MHI190v+HctXaPWhjvd8eACg1Kq4 bk4jPjc9hkUwImixfjI41Hs= =PBlz -----END PGP SIGNATURE----- |