1## Process this file with automake to produce Makefile.in 2 3# Automake requirements 4AUTOMAKE_OPTIONS = gnits 1.10 dist-bzip2 5ACLOCAL_AMFLAGS = -I m4 6 7PACKAGE = sed 8 9SUBDIRS = lib po sed doc testsuite 10 11noinst_DATA = bootstrap.sh 12noinst_HEADERS = basicdefs.h 13 14EXTRA_DIST = BUGS THANKS COPYING.DOC README.boot \ 15 autoboot build-aux/texi2dvi build-aux/help2man 16 17html: 18 cd doc && make html 19 20DISTCHECK_CONFIGURE_FLAGS = XGETTEXT='$(SHELL) -c : dummy' $(EXTRA_DC_FLAGS) 21EXTRA_DC_FLAGS = 22 23dist-hook: 24 test $(COPYRIGHT_YEAR) = `date +%Y` || \ 25 { echo Copyright year not updated; exit 1; } 26 cmp bootstrap.sh $(srcdir)/bootstrap.sh > /dev/null 2>&1 || \ 27 cp -p bootstrap.sh $(srcdir)/bootstrap.sh 28 cp -p $(srcdir)/bootstrap.sh $(distdir)/bootstrap.sh 29 30full-distcheck: 31 make distcheck EXTRA_DC_FLAGS='--enable-regex-tests' 32 make distcheck EXTRA_DC_FLAGS='--enable-html' 33 make distcheck EXTRA_DC_FLAGS='--disable-i18n' 34 make distcheck EXTRA_DC_FLAGS='--disable-nls' 35 make distcheck EXTRA_DC_FLAGS='--without-included-gettext' 36 @case "$(host)" in \ 37 *-linux*|*-gnu*) \ 38 echo make distcheck EXTRA_DC_FLAGS=\'--without-included-regex\'; \ 39 make distcheck EXTRA_DC_FLAGS='--without-included-regex' \ 40 ;; \ 41 *) \ 42 echo Skipping check --without-included-regex \ 43 ;; \ 44 esac 45 46## update-regex: 47## HOST=sources.redhat.com && \ 48## BASEURL="http://$$HOST/cgi-bin/cvsweb.cgi/~checkout~/libc/posix" && \ 49## QUERY='cvsroot=glibc&content-type=text/plain' && \ 50## wget -O lib/regcomp.c "$$BASEURL/regcomp.c?$$QUERY" && \ 51## wget -O lib/regexec.c "$$BASEURL/regexec.c?$$QUERY" && \ 52## wget -O lib/regex.c "$$BASEURL/regex.c?$$QUERY" && \ 53## wget -O lib/regex_.h "$$BASEURL/regex.h?$$QUERY" && \ 54## wget -O lib/regex_internal.c "$$BASEURL/regex_internal.c?$$QUERY" && \ 55## wget -O lib/regex_internal.h "$$BASEURL/regex_internal.h?$$QUERY" && \ 56## wget -O testsuite/BOOST.tests "$$BASEURL/BOOST.tests?$$QUERY" && \ 57## wget -O testsuite/PCRE.tests "$$BASEURL/PCRE.tests?$$QUERY" && \ 58## wget -O testsuite/SPENCER.tests "$$BASEURL/rxspencer/tests?$$QUERY" 59 60