maint: COPYRIGHT_YEAR: remove, along with tests that use it

This is covered by other tests, and the general --help/--version
checks provided by help-version.sh (about to be added) are more
thorough.
* configure.ac (COPYRIGHT_YEAR): Remove definition and AC_SUBST.
* Makefile.am (dist-hook): Remove test.
* testsuite/Makefile.am (SEDTESTS): Remove "version".
* testsuite/version.gin: Remove file.
* .gitignore: Remove mention of generated file, version.good.
This commit is contained in:
Jim Meyering committed 2015-03-01 20:21:17 -08:00
1 parent 5b16974db6
commit 2f5dbefd8b
5 files changed
+1 -22

No files matched your search

-1
View File
@@ -60,6 +60,5 @@
/testsuite/Makefile
/testsuite/eval.in2
/testsuite/utf8-[1-4].out
/testsuite/version.good
Makefile
Makefile.in
-3
View File
@@ -29,9 +29,6 @@ EXTRA_DIST = BUGS THANKS.in COPYING.DOC \
# tarball, and never in a checked-out repository.
dist-hook: gen-ChangeLog
$(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version
test $(COPYRIGHT_YEAR) = `date +%Y` || \
{ echo Copyright year not updated; exit 1; }
gen_start_date = 2014-09-06
.PHONY: gen-ChangeLog
-4
View File
@@ -15,9 +15,6 @@ AC_DEFINE_UNQUOTED([SED_FEATURE_VERSION], "$SED_FEATURE_VERSION",
[Define to the version of GNU sed whose features are supported by this sed.])
AC_SUBST(SED_FEATURE_VERSION)
COPYRIGHT_YEAR=2014
AC_SUBST(COPYRIGHT_YEAR)
AC_PROG_CC_STDC
AM_PROG_CC_C_O
gl_EARLY
@@ -334,7 +331,6 @@ if test "$gl_gcc_warnings" = yes; then
AC_SUBST([GNULIB_TEST_WARN_CFLAGS])
fi
AC_CONFIG_FILES([testsuite/version.good:testsuite/version.gin])
AC_CONFIG_FILES([
Makefile
doc/Makefile
+1 -2
View File
@@ -25,7 +25,7 @@ SEDTESTS += \
y-newline y-zero allsub cv-vars classes middle bsd stdin flipcase \
insens subwrite writeout readin insert utf8-1 utf8-2 utf8-3 utf8-4 \
badenc inplace-hold brackets amp-escape \
help version file quiet \
help file quiet \
factor binary3 binary2 binary dc
TESTS_ENVIRONMENT = MAKE="$(MAKE)" VERSION="$(VERSION)" \
@@ -88,7 +88,6 @@ EXTRA_DIST = \
utf8-3.good utf8-3.inp utf8-3.sed \
utf8-4.good utf8-4.inp utf8-4.sed \
badenc.good badenc.inp badenc.sed \
version.gin \
writeout.inp writeout.sed wrtout1.good wrtout2.good \
xabcx.good xabcx.inp xabcx.sed \
xbxcx.good xbxcx.inp xbxcx.sed \
-12
View File
@@ -1,12 +0,0 @@
../sed/sed (GNU sed) @VERSION@
Copyright (C) @COPYRIGHT_YEAR@ Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Jay Fenlason, Tom Lord, Ken Pizzini,
and Paolo Bonzini.
GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
E-mail bug reports to: <@PACKAGE_BUGREPORT@>.
Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.