commit 8f58baa153fc8bbed2e44f993e13a364a2ab4ac4
Author: Oswald Buddenhagen <o...@users.sf.net>
Date:   Tue Mar 11 19:05:05 2025 +0100

    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).

 .gitignore  |  1 -
 ChangeLog   |  3 +++
 Makefile.am | 55 -----------------------------------------------------
 autogen.sh  |  1 -
 4 files changed, 3 insertions(+), 57 deletions(-)

diff --git a/.gitignore b/.gitignore
index 66a12ec..31ee130 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,4 @@
 /.autoconf_trace
-/ChangeLog
 /INSTALL
 /VERSION
 /autom4te.cache/
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
index 0000000..5fc59d9
--- /dev/null
+++ b/ChangeLog
@@ -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.
diff --git a/Makefile.am b/Makefile.am
index 79067cb..121ca3e 100644
--- a/Makefile.am
+++ b/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
diff --git a/autogen.sh b/autogen.sh
index bd877a4..86518ed 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,3 @@
 #! /bin/sh
 set -e -v
-make -f Makefile.am log
 autoreconf -f -i


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to