aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-02-14 19:52:56 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2009-02-14 19:52:56 +0200
commit0aa16b2a5d19223acb637abe731da10c75d7bd08 (patch)
tree7f52c802b22cdcc56aa296d79fec7f140e70d414 /Makefile.am
parent0d7591e8f3ebcb5ad683eb6a8e3a162e79859321 (diff)
downloadcpio-0aa16b2a5d19223acb637abe731da10c75d7bd08.tar.gz
cpio-0aa16b2a5d19223acb637abe731da10c75d7bd08.tar.bz2
Switch to Git
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am40
1 files changed, 38 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 332da25..0025b9a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
# This file is part of GNU cpio
-# Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2007, 2009 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -20,4 +20,40 @@ ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = gnits 1.8 dist-bzip2 std-options
-SUBDIRS = doc headers lib rmt src po tests
+SUBDIRS = doc headers gnu paxlib rmt src po tests
+
+gen_start_date = 2008-03-07
+
+.PHONY: make-ChangeLog
+make-ChangeLog:
+ if test -d .git; then \
+ $(top_srcdir)/build-aux/gitlog-to-changelog \
+ --since=$(gen_start_date) | \
+ sed '/<unknown>$$/d' | fmt -s > $(distdir)/cl-t; \
+ cat ChangeLog.cvs | sed '/^Local Variables:/,/^End:/d' \
+ >> $(distdir)/cl-t; \
+ echo "Local Variables:" >> $(distdir)/cl-t; \
+ echo "mode: change-log" >> $(distdir)/cl-t; \
+ echo "version-control: never" >> $(distdir)/cl-t; \
+ echo "buffer-read-only: t" >> $(distdir)/cl-t; \
+ echo "End:" >> $(distdir)/cl-t; \
+ rm -f $(distdir)/ChangeLog; \
+ mv $(distdir)/cl-t $(distdir)/ChangeLog; \
+ fi
+
+dist-hook: make-ChangeLog
+
+.PHONY: ChangeLog
+ChangeLog:
+ if test -d .git; then \
+ $(top_srcdir)/build-aux/gitlog-to-changelog \
+ --since=$(gen_start_date) | \
+ sed '/<unknown>$$/d' | fmt -s > ChangeLog; \
+ cat ChangeLog.cvs | sed '/^Local Variables:/,/^End:/d' \
+ >> ChangeLog; \
+ echo "Local Variables:" >> ChangeLog; \
+ echo "mode: change-log" >> ChangeLog; \
+ echo "version-control: never" >> ChangeLog; \
+ echo "buffer-read-only: t" >> ChangeLog; \
+ echo "End:" >> ChangeLog; \
+ fi

Return to:

Send suggestions and report system problems to the System administrator.