[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gnulib] Re: gnulib-tool plays nice with make
From: |
Derek Price |
Subject: |
[bug-gnulib] Re: gnulib-tool plays nice with make |
Date: |
Thu, 03 Mar 2005 14:48:48 -0500 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Simon Josefsson wrote:
| Derek Price <address@hidden> writes:
|
|> I've updated gnulib-tool --import to copy files iff they have
|> changed so that when no files have changed, then the second make
|> in the sequence:
|>
|> make ../gnulib/gnulib-tool --import MODULELIST make
|>
|> will do nothing when no files change. Patch attached.
|
|
|> - test -n "$dry_run" && dry=echo - $dry cp -p
|> "$gnulib_dir/$f" "$destdir/$g" + # Avoid munging timestamps if
|> the file hasn't changed. + if cmp "$gnulib_dir/$f"
|> "$destdir/$g" >/dev/null 2>&1; then :; else + $dry cp -p
|> "$gnulib_dir/$f" "$destdir/$g" + fi # Update license. if test
|> -z "$dry_run" && test -n "$lgpl" && test -n "$source"; then perl
|> -pi -e 's/GNU General/GNU Lesser General/g;' \
|
|
| The cmp will always fail if --lgpl is given, won't it?
|
| Seem like a good patch nevertheless, as it doesn't make anything
| worse than before.
Are you going to install this? I cannot.
Regards,
Derek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCJ2ogLD1OTBfyMaQRApiSAJ9VqV3qND/xD/umT1jAMvh9b7ZkUgCgh3mA
DWSbvGHed4n+jgbzfTiDDvk=
=ttUf
-----END PGP SIGNATURE-----