author | Junio C Hamano <junkio@cox.net> | |
Sun, 25 Feb 2007 07:18:11 +0000 (02:18 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 25 Feb 2007 07:18:26 +0000 (02:18 -0500) | ||
commit | 92446aba47b0e0db28f7b858ea387efcca30ab44 | |
tree | fcd892d57e03be7b4baa1d97a94d8d969e4ed602 | tree | snapshot |
parent | 981193786fc30b9ee73b9f223a75642b4ed455b9 | commit | diff |
Don't modify CREDITS-FILE if it hasn't changed.
We should always avoid rewriting a built file during `make install`
if nothing has changed since `make all`. This is to help support
the typical installation process of compiling a package as yourself,
then installing it as root.
Forcing CREDITS-FILE to be always be rebuilt in the Makefile means
that CREDITS-GEN needs to check for a change and only update
CREDITS-FILE if the file content actually differs. After all,
content is king in Git.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
We should always avoid rewriting a built file during `make install`
if nothing has changed since `make all`. This is to help support
the typical installation process of compiling a package as yourself,
then installing it as root.
Forcing CREDITS-FILE to be always be rebuilt in the Makefile means
that CREDITS-GEN needs to check for a change and only update
CREDITS-FILE if the file content actually differs. After all,
content is king in Git.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
CREDITS-GEN | diff | blob | history |