isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit a2fe8c155a625b8242bd36870bc1e0c88b5f37bd
parent 281a87ed8926fc38194b86c78b1a1e4659f2d73e
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date:   Fri, 28 Feb 2020 12:10:07 +0100

re-generate ChangeLog only if it's newer than the git index

otherwise, we'd re-generate it during 'install' as well.

note that this does not work with new-style git worktrees, where .git is
only a file - but there the log generation itself already doesn't work
anyway.

Diffstat:
MMakefile.am | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am @@ -47,7 +47,10 @@ LOG_PL = \ print $$log."\n"; \ } -$(srcdir)/ChangeLog: log +$(srcdir)/.git/index: +$(srcdir)/ChangeLog: $(srcdir)/.git/index + $(MAKE) log + log: @test -z "$(srcdir)" || cd $(srcdir) && \ ( ! test -d .git || \