2001-08-01 21:46:22 +08:00
|
|
|
## Process this file with automake to create Makefile.in
|
|
|
|
|
2002-02-05 16:24:06 +08:00
|
|
|
## Copyright 2001, 2002 Free Software Foundation, Inc.
|
|
|
|
##
|
|
|
|
## This program is free software; you can redistribute it and/or modify
|
|
|
|
## it under the terms of the GNU General Public License as published by
|
|
|
|
## the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
## any later version.
|
|
|
|
##
|
|
|
|
## This program is distributed in the hope that it will be useful,
|
|
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
## GNU General Public License for more details.
|
|
|
|
##
|
|
|
|
## You should have received a copy of the GNU General Public License
|
|
|
|
## along with this program; if not, write to the Free Software
|
|
|
|
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
|
|
## 02111-1307, USA.
|
|
|
|
|
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
|
2002-02-05 16:24:06 +08:00
|
|
|
nodist_m4sugarlib_DATA = version.m4 m4sugar.m4f m4sh.m4f
|
|
|
|
CLEANFILES = $(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.'; \
|
2002-02-05 16:24:06 +08:00
|
|
|
echo '# Copyright (C) 1999, 2000, 2001, 2002'; \
|
|
|
|
echo '# Free Software Foundation, Inc.'; \
|
2001-09-18 17:03:18 +08:00
|
|
|
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
|
|
|
|
* lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev)
(tm_zone): Move their rules to...
* lib/autoconf/types.m4: here, using AN_ macros.
* lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE)
(RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln)
(make, mawk, nawk, ranlib, yacc): Similarly, move to...
* lib/autoconf/programs.m4: here.
* lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR)
(ETAGS_FOR_AUTOCONF): New.
Use it.
2002-09-28 22:07:47 +08:00
|
|
|
ETAGS_ARGS = $(ETAGS_FOR_AUTOCONF)
|
2001-08-20 22:45:22 +08:00
|
|
|
|
|
|
|
|
|
|
|
## -------- ##
|
|
|
|
## Checks. ##
|
|
|
|
## -------- ##
|
|
|
|
|
|
|
|
check-local:
|
|
|
|
if (cd $(srcdir) && \
|
2002-05-30 06:26:16 +08:00
|
|
|
grep '^_*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
|
2002-02-05 16:24:06 +08:00
|
|
|
|
|
|
|
|
|
|
|
## ------------------ ##
|
|
|
|
## The frozen files. ##
|
|
|
|
## ------------------ ##
|
|
|
|
|
|
|
|
m4sugar.m4f: $(m4sugar_m4f_dependencies)
|
|
|
|
m4sh.m4f: $(m4sh_m4f_dependencies)
|
|
|
|
include ../freeze.mk
|