COPYING in repository

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.patches
Message-ID <[email protected]>
Now that automake 1.10.2 is released, ./bootstrap results in a warning:

Makefile.am: installing `./COPYING' using GNU General Public License v3 file
Makefile.am:     Consider adding the COPYING file to the version control system
Makefile.am:     for your code, to avoid questions about which license your 
project uses.

I'm installing this to silence the warning.  It shouldn't have any impact on 
tarball generation.

From: Eric Blake <[email protected]>
Date: Wed, 26 Nov 2008 10:35:20 -0700
Subject: [PATCH] Keep COPYING in repository.

* Makefile.am (MAINTAINERCLEANFILES): Don't remove COPYING.
* .cvsignore: Don't ignore it.
* .gitignore: Likewise.
* COPYING: Store in repository, per automake 1.10.2
recommendation.

Signed-off-by: Eric Blake <[email protected]>
---
 .cvsignore  |    1 -
 .gitignore  |    1 -
 COPYING     |  674 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ChangeLog   |    9 +
 Makefile.am |    2 +-
 5 files changed, 684 insertions(+), 3 deletions(-)
 create mode 100644 COPYING

diff --git a/.cvsignore b/.cvsignore
index 493776c..143e169 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -14,7 +14,6 @@ config.sub
 config-h.in
 configure
 configure.lineno
-COPYING
 depcomp
 gendocs.sh
 GNUmakefile
diff --git a/.gitignore b/.gitignore
index fae2fd3..531d3b4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,7 +17,6 @@ config.sub
 config-h.in
 configure
 configure.lineno
-COPYING
 CVS
 depcomp
 gendocs.sh
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..94a9ed0
diff --git a/ChangeLog b/ChangeLog
index c34b964..d100a59 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2008-11-26  Eric Blake  <[email protected]>
 
+	Keep COPYING in repository.
+	* Makefile.am (MAINTAINERCLEANFILES): Don't remove COPYING.
+	* .cvsignore: Don't ignore it.
+	* .gitignore: Likewise.
+	* COPYING: Store in repository, per automake 1.10.2
+	recommendation.
+
+2008-11-26  Eric Blake  <[email protected]>
+
 	Document optimized forloop.
 	* doc/m4.texinfo (Improved forloop): Mention alternate style that
 	avoids define overhead.
diff --git a/Makefile.am b/Makefile.am
index 4f4a60b..f98266c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,7 +26,7 @@ EXTRA_DIST = bootstrap c-boxes.el cfg.mk maint.mk \
 DISTCLEANFILES = stamp-h
 ## maintainer-clean should remove as much as possible that ./bootstrap can
 ## recreate.  In the m4 directory, keep only gnulib-cache.m4.
-MAINTAINERCLEANFILES = COPYING INSTALL Makefile.in aclocal.m4 \
+MAINTAINERCLEANFILES = INSTALL Makefile.in aclocal.m4 \
 	config-h.in configure depcomp doc/fdl.texi gendocs.sh install-sh \
 	lib/[a-z]* m4/[a-fh-z]* m4/g[a-mo-z]* m4/gnulib-comp.m4 \
 	m4/gnulib-tool.m4 missing stamp-h.in
-- 
1.6.0.4
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.