diff options
author | Todd C. Miller <Todd.Miller@sudo.ws> | 2021-02-24 16:06:18 -0700 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@sudo.ws> | 2021-02-24 16:06:18 -0700 |
commit | 0831ef3eea6994f4807c755439c15a61a9909680 (patch) | |
tree | 7e38ed82e81b70579b5fb6a98fa471243a307120 /Makefile.in | |
parent | 7facd28e96bbd1781b913a8f5135d0dc854bab16 (diff) | |
download | sudo-0831ef3eea6994f4807c755439c15a61a9909680.tar.gz |
Do not overwrite existing ChangeLog file if there is no hg/git dir.
We don't want "make install" from a source tarball to nuke the ChangeLog.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index ff36b3814..e25135b85 100644 --- a/Makefile.in +++ b/Makefile.in @@ -240,7 +240,7 @@ ChangeLog: fi; \ elif test -d $(srcdir)/.git; then \ $(scriptdir)/log2cl.pl -R $(srcdir)/.git > $(srcdir)/$@; \ - else \ + elif test ! -f $(srcdir)/$@; then \ echo "ChangeLog data not available" > $(srcdir)/$@; \ fi |