Files
sed/Makefile.am
T
Paolo Bonzini 1104ef346a fix copyright years and notice
2009-05-11  Paolo Bonzini  <bonzini@gnu.org>

	* configure.ac: Define COPYRIGHT_YEAR.
	* Makefile.am (dist-hook): Test it.
	* sed/mbcs.c: Fix copyright years.
	* sed/sed.c: Fix copyright years.  Change COPYRIGHT_NOTICE to
	COPYRIGHT_YEAR.
	* sed/utils.c: Fix copyright years.
	* testsuite/version.gin: Use COPYRIGHT_YEAR.
2009-05-11 10:56:04 +02:00

35 lines
984 B
Makefile

## Process this file with automake to produce Makefile.in
# Automake requirements
AUTOMAKE_OPTIONS = gnits 1.10
ACLOCAL_AMFLAGS = -I m4
PACKAGE = sed
SUBDIRS = lib pcre po sed doc testsuite
noinst_DATA = bootstrap.sh
noinst_HEADERS = basicdefs.h
EXTRA_DIST = BUGS THANKS COPYING.DOC README.boot \
autoboot build-aux/texi2dvi build-aux/help2man
html:
cd doc && make html
DISTCHECK_CONFIGURE_FLAGS = XGETTEXT='$(SHELL) -c : dummy' $(EXTRA_DC_FLAGS)
EXTRA_DC_FLAGS =
dist-hook:
test $(COPYRIGHT_YEAR) = `date +%Y` || \
{ echo Copyright year not updated; exit 1; }
cmp bootstrap.sh $(srcdir)/bootstrap.sh > /dev/null 2>&1 || \
cp -p bootstrap.sh $(srcdir)/bootstrap.sh
cp -p $(srcdir)/bootstrap.sh $(distdir)/bootstrap.sh
full-distcheck:
make distcheck EXTRA_DC_FLAGS='--enable-html'
make distcheck EXTRA_DC_FLAGS='--disable-i18n'
make distcheck EXTRA_DC_FLAGS='--disable-nls'
make distcheck EXTRA_DC_FLAGS='--without-included-gettext'