2001-08-01 21:46:22 +08:00
|
|
|
## Process this file with automake to create Makefile.in
|
|
|
|
|
Automake 1.5.
* Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
(AMTAR): Help automake define it.
(INSTALL, install-data-hook): The INSTALL.txt trick is no longer
needed, 1.5 can have a macro and a target with the same name.
* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
* m4/strip.m4: New.
* m4/init.m4, m4/sanity.m4: Update.
* doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
* lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
* lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
2001-08-27 15:12:16 +08:00
|
|
|
m4sugarlibdir = $(pkgdatadir)/m4sugar
|
2001-09-18 17:03:18 +08:00
|
|
|
dist_m4sugarlib_DATA = m4sugar.m4 m4sh.m4
|
|
|
|
nodist_m4sugarlib_DATA = version.m4
|
2001-09-24 01:16:43 +08:00
|
|
|
DISTCLEANFILES = $(nodist_m4sugarlib_DATA)
|
2001-08-27 15:08:56 +08:00
|
|
|
|
|
|
|
## ------------ ##
|
|
|
|
## version.m4. ##
|
|
|
|
## ------------ ##
|
|
|
|
|
2001-09-18 17:03:18 +08:00
|
|
|
version.m4: $(top_srcdir)/configure.ac
|
|
|
|
{ \
|
|
|
|
echo '# This file is part of -*- Autoconf -*-.'; \
|
|
|
|
echo '# Version of Autoconf.'; \
|
|
|
|
echo '# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.'; \
|
|
|
|
echo ;\
|
|
|
|
echo 'm4_define([m4_PACKAGE_NAME], [@PACKAGE_NAME@])'; \
|
|
|
|
echo 'm4_define([m4_PACKAGE_TARNAME], [@PACKAGE_TARNAME@])'; \
|
|
|
|
echo 'm4_define([m4_PACKAGE_VERSION], [@PACKAGE_VERSION@])'; \
|
|
|
|
echo 'm4_define([m4_PACKAGE_STRING], [@PACKAGE_STRING@])'; \
|
|
|
|
echo 'm4_define([m4_PACKAGE_BUGREPORT], [@PACKAGE_BUGREPORT@])'; \
|
|
|
|
} >version.m4
|
2001-08-17 20:06:44 +08:00
|
|
|
|
|
|
|
|
|
|
|
## --------------- ##
|
|
|
|
## Building TAGS. ##
|
|
|
|
## --------------- ##
|
|
|
|
|
Automake 1.5.
* Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
(AMTAR): Help automake define it.
(INSTALL, install-data-hook): The INSTALL.txt trick is no longer
needed, 1.5 can have a macro and a target with the same name.
* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
* m4/strip.m4: New.
* m4/init.m4, m4/sanity.m4: Update.
* doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
* lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
* lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
2001-08-27 15:12:16 +08:00
|
|
|
TAGS_FILES = $(dist_m4sugarlib_DATA)
|
2001-08-17 20:06:44 +08:00
|
|
|
|
|
|
|
ETAGS_ARGS = --lang=none \
|
|
|
|
--regex='/\(A[CU]_DEFUN\|m4_\(defun\|define\)\|define\)(\[\([^]]*\)\]/\3/'
|
2001-08-20 22:45:22 +08:00
|
|
|
|
|
|
|
|
|
|
|
## -------- ##
|
|
|
|
## Checks. ##
|
|
|
|
## -------- ##
|
|
|
|
|
|
|
|
check-local:
|
|
|
|
if (cd $(srcdir) && \
|
Automake 1.5.
* Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2.
(AMTAR): Help automake define it.
(INSTALL, install-data-hook): The INSTALL.txt trick is no longer
needed, 1.5 can have a macro and a target with the same name.
* m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4,
* m4/strip.m4: New.
* m4/init.m4, m4/sanity.m4: Update.
* doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files.
* lib/autoconf/Makefile.am, lib/autotest/Makefile.am,
* lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am,
* lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist.
2001-08-27 15:12:16 +08:00
|
|
|
egrep '^_?EOF' $(dist_m4sugarlib_DATA)) >eof.log; then \
|
2001-08-20 22:45:22 +08:00
|
|
|
echo "ERROR: user EOF tags were used:" >&2; \
|
|
|
|
sed "s,^,$*.m4: ," <eof.log >&2; \
|
|
|
|
echo >&2; \
|
|
|
|
exit 1; \
|
|
|
|
else \
|
|
|
|
rm -f eof.log; \
|
|
|
|
fi
|