mirror of
https://git.code.sf.net/p/isync/isync
synced 2025-12-11 20:37:54 +01:00
stub out ChangeLog
that file is a relic from the times before distributed VCS with atomic commits existed. ours was slightly filtered, but still way too noisy to be useful for end users. so basically, it had no target audience. the file itself is left in place, because automake complains otherwise (we don't want to use 'foreign' strictness, as otherwise INSTALL is not added by autoreconf --install).
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,5 +1,4 @@
|
||||
/.autoconf_trace
|
||||
/ChangeLog
|
||||
/INSTALL
|
||||
/VERSION
|
||||
/autom4te.cache/
|
||||
|
||||
3
ChangeLog
Normal file
3
ChangeLog
Normal file
@@ -0,0 +1,3 @@
|
||||
This file is empty for a lack of a target audience.
|
||||
|
||||
Have a look at the NEWS file for a summary of user-visible changes.
|
||||
55
Makefile.am
55
Makefile.am
@@ -6,61 +6,6 @@ SUBDIRS = src
|
||||
bin_SCRIPTS = mbsync-get-cert
|
||||
EXTRA_DIST = LICENSES VERSION debian isync.spec $(bin_SCRIPTS)
|
||||
|
||||
LOG_PL = \
|
||||
use POSIX qw(strftime); \
|
||||
use Date::Parse; \
|
||||
use Text::Wrap; \
|
||||
$$Text::Wrap::columns = 72; \
|
||||
while (defined($$_ = <>)) { \
|
||||
/^commit / or die "commit missing: $$_"; \
|
||||
<> =~ /^log size (\d+)$$/ or die "wrong size"; \
|
||||
$$len = $$1; \
|
||||
read(STDIN, $$log, $$len) == $$len or die "unexpected EOF"; \
|
||||
$$log =~ s/^Author: ([^>]+>)\nDate: (\d{4}-\d\d-\d\d \d\d:\d\d:\d\d [-+]\d{4})\n(.*)$$/$$3/s or die "unexpected log format"; \
|
||||
$$author = $$1; $$date = str2time($$2); \
|
||||
scalar(<>); \
|
||||
@files = (); \
|
||||
$$pfx = ""; \
|
||||
while (defined($$l = <>) and $$l ne "\n") { \
|
||||
chomp $$l; \
|
||||
next if ($$l =~ m,^(ChangeLog$$|NEWS$$|TODO$$|debian/),); \
|
||||
if (!@files) { \
|
||||
$$pfx = $$l; \
|
||||
$$pfx =~ s,/?[^/]+$$,,; \
|
||||
} else { \
|
||||
while (length($$pfx)) { \
|
||||
$$l =~ m,^\Q$$pfx/\E, and last; \
|
||||
$$pfx =~ s,/?[^/]+$$,,; \
|
||||
} \
|
||||
} \
|
||||
push @files, $$l; \
|
||||
} \
|
||||
next if (!@files); \
|
||||
print strftime("%F %H:%M", gmtime($$date))." ".$$author."\n\n"; \
|
||||
if (@files > 1 and ($$len = length($$pfx))) { \
|
||||
@efiles = (); \
|
||||
for $$f (@files) { push @efiles, substr($$f, $$len + 1); } \
|
||||
$$fstr = $$pfx."/: "; \
|
||||
} else { \
|
||||
@efiles = @files; \
|
||||
$$fstr = ""; \
|
||||
} \
|
||||
print wrap("\t* ", "\t ", $$fstr.join(", ", @efiles).":")."\n"; \
|
||||
$$log =~ s, +$$,,gm; \
|
||||
$$log =~ s,^ ,\t,gm; \
|
||||
print $$log."\n"; \
|
||||
}
|
||||
|
||||
$(srcdir)/.git/index:
|
||||
$(srcdir)/ChangeLog: $(srcdir)/.git/index
|
||||
$(MAKE) log
|
||||
|
||||
log:
|
||||
@test -z "$(srcdir)" || cd $(srcdir) && \
|
||||
( ! test -d .git || \
|
||||
git log --pretty=medium --date=iso --log-size --name-only --no-merges | \
|
||||
perl -e '$(LOG_PL)' > ChangeLog )
|
||||
|
||||
cov-scan: clean
|
||||
/opt/cov-analysis-*/bin/cov-build --dir cov-int $(MAKE)
|
||||
tar cavf isync-cov.tar.xz cov-int
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#! /bin/sh
|
||||
set -e -v
|
||||
make -f Makefile.am log
|
||||
autoreconf -f -i
|
||||
|
||||
Reference in New Issue
Block a user