diff options
author | Roland McGrath <roland@gnu.org> | 1996-05-27 19:19:29 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-05-27 19:19:29 +0000 |
commit | d36e76923049df98b0f5c99a32cdd79302bf9dff (patch) | |
tree | fcffe66d28ecea25f34241df41417dbdcc4380e2 /Makefile | |
parent | 4e395306e8c74411b565df245e7e6d7cda433377 (diff) | |
download | glibc-d36e76923049df98b0f5c99a32cdd79302bf9dff.zip glibc-d36e76923049df98b0f5c99a32cdd79302bf9dff.tar.gz glibc-d36e76923049df98b0f5c99a32cdd79302bf9dff.tar.bz2 |
* Makefile ($(includedir)/stubs.h): Don't touch target if new one is
identical.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -144,7 +144,8 @@ $(includedir)/stubs.h: subdir_install echo ' in the C library which is a stub, meaning it will fail';\ echo ' every time called, usually setting errno to ENOSYS. */';\ sort $(subdir-stubs)) > $(objpfx)stubs.h - $(INSTALL_DATA) $(objpfx)stubs.h $@ + if test -r $@ && cmp -s $(objpfx)stubs.h $@; then : ; \ + else $(INSTALL_DATA) $(objpfx)stubs.h $@; fi rm -f $(objpfx)stubs.h # This makes the Info or DVI file of the documentation from the Texinfo source. |