2001-04-11 23:15:20 +08:00
|
|
|
## Process this file with automake to create Makefile.in. -*-Makefile-*-
|
1999-10-31 09:54:28 +08:00
|
|
|
|
|
|
|
## Makefile for Autoconf.
|
2003-08-20 14:29:54 +08:00
|
|
|
## Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
1999-10-31 09:54:28 +08:00
|
|
|
|
|
|
|
## 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.
|
|
|
|
|
2002-02-05 16:24:06 +08:00
|
|
|
# bin/ and tests/ must be run first, as they build the tests executables
|
|
|
|
# (tests/autom4te etc.), that we happen to use here.
|
|
|
|
SUBDIRS = bin tests . lib config man doc
|
1999-10-31 09:54:28 +08:00
|
|
|
|
* Makefile.am (AUTOMAKE_OPTIONS): 1.5b.
* config/auxdir.m4, config/cond.m4, config/depend.m4,
* config/init.m4, config/install-sh.m4, config/lispdir.m4,
* config/missing.m4, config/sanity.m4, config/select.m4,
* config/strip.m4: Remove, to ease sync'ing with any version of
Automake.
2002-01-25 01:30:58 +08:00
|
|
|
ACLOCAL_AMFLAGS = -I config
|
1999-12-22 00:44:10 +08:00
|
|
|
|
2001-05-21 21:01:06 +08:00
|
|
|
EXTRA_DIST = ChangeLog.0 ChangeLog.1 ChangeLog.2 \
|
2003-05-23 21:09:28 +08:00
|
|
|
BUGS \
|
2003-08-22 23:33:47 +08:00
|
|
|
GNUmakefile Makefile.maint Makefile.cfg
|
1999-10-31 09:54:28 +08:00
|
|
|
|
2002-09-05 00:03:12 +08:00
|
|
|
MAINTAINERCLEANFILES = INSTALL
|
2001-10-06 00:12:06 +08:00
|
|
|
|
2001-08-13 20:25:05 +08:00
|
|
|
## -------------------- ##
|
|
|
|
## Forwarding targets. ##
|
|
|
|
## -------------------- ##
|
|
|
|
|
2002-09-05 00:03:12 +08:00
|
|
|
html:
|
2001-08-13 20:25:05 +08:00
|
|
|
cd doc && $(MAKE) $(AM_MAKEFLAGS) $@
|
|
|
|
|
2002-09-05 00:03:12 +08:00
|
|
|
.PHONY: html
|
2001-08-13 20:25:05 +08:00
|
|
|
|
2000-10-17 15:55:44 +08:00
|
|
|
|
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
|
|
|
## --------- ##
|
2000-09-04 20:12:21 +08:00
|
|
|
## INSTALL. ##
|
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
|
|
|
## --------- ##
|
2000-09-04 20:12:21 +08:00
|
|
|
|
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
|
|
|
pkgdata_DATA = INSTALL
|
2002-07-29 16:23:56 +08:00
|
|
|
AM_MAKEINFOFLAGS = --no-headers --no-validate --no-split
|
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
|
|
|
INSTALL: $(top_srcdir)/doc/install.texi
|
2002-07-29 16:23:56 +08:00
|
|
|
$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -o $(srcdir)/INSTALL \
|
|
|
|
$(top_srcdir)/doc/install.texi
|
2000-10-17 15:55:44 +08:00
|
|
|
|
2001-01-12 17:39:26 +08:00
|
|
|
## maintainer-check ##
|
2001-06-10 02:16:43 +08:00
|
|
|
maintainer-check: maintainer-check-tests
|
|
|
|
maintainer-check-tests:
|
2001-01-12 17:39:26 +08:00
|
|
|
cd tests && make maintainer-check
|
2003-08-20 14:29:54 +08:00
|
|
|
|
|
|
|
|
|
|
|
## ----------------------------------- ##
|
|
|
|
## Updating Perl files from Automake. ##
|
|
|
|
## ----------------------------------- ##
|
|
|
|
|
|
|
|
## Fetch the latest versions of files we care about.
|
|
|
|
automake_cvsweb = \
|
|
|
|
http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/automake
|
|
|
|
automake_cvsargs = \
|
|
|
|
'content-type=text/plain&cvsroot=automake'
|
|
|
|
autom4te_files = \
|
|
|
|
Autom4te/Configure_ac.pm \
|
|
|
|
Autom4te/Channels.pm \
|
2003-09-14 06:00:36 +08:00
|
|
|
Autom4te/FileUtils.pm \
|
|
|
|
Autom4te/Struct.pm \
|
|
|
|
Autom4te/XFile.pm
|
2003-08-20 14:29:54 +08:00
|
|
|
|
|
|
|
autom4te-update:
|
|
|
|
rm -rf Fetchdir > /dev/null 2>&1
|
|
|
|
mkdir Fetchdir; mkdir Fetchdir/Autom4te
|
|
|
|
## If a get fails then that is a problem.
|
|
|
|
(cd Fetchdir && \
|
|
|
|
$(WGET) $(automake_cvsweb)/lib/Automake/Configure_ac.pm?$(automake_cvsargs) -O Autom4te/Configure_ac.pm; \
|
|
|
|
$(WGET) $(automake_cvsweb)/lib/Automake/Channels.pm?$(automake_cvsargs) -O Autom4te/Channels.pm; \
|
|
|
|
$(WGET) $(automake_cvsweb)/lib/Automake/FileUtils.pm?$(automake_cvsargs) -O Autom4te/FileUtils.pm; \
|
2003-09-14 06:00:36 +08:00
|
|
|
$(WGET) $(automake_cvsweb)/lib/Automake/Struct.pm?$(automake_cvsargs) -O Autom4te/Struct.pm; \
|
|
|
|
$(WGET) $(automake_cvsweb)/lib/Automake/XFile.pm?$(automake_cvsargs) -O Autom4te/XFile.pm; \
|
2003-08-20 14:29:54 +08:00
|
|
|
:)
|
|
|
|
perl -pi -e 's/Automake::/Autom4te::/g' Fetchdir/Autom4te/*.pm
|
|
|
|
for file in $(autom4te_files); do \
|
|
|
|
$(move_if_change) Fetchdir/$$file $(srcdir)/lib/$$file; \
|
|
|
|
done
|