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.
|
2004-01-05 15:05:22 +08:00
|
|
|
|
|
|
|
## Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 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
|
2005-05-14 15:00:38 +08:00
|
|
|
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|
|
|
## 02110-1301, USA.
|
1999-10-31 09:54:28 +08:00
|
|
|
|
2004-12-10 05:01:37 +08:00
|
|
|
# bin/ must be run first, as it builds executables needed for tests.
|
|
|
|
# autom4te uses autotest.m4f to generate `testsuite', so build tests last.
|
|
|
|
SUBDIRS = bin . lib config man doc tests
|
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
|
|
|
|
2004-12-29 14:54:44 +08:00
|
|
|
MAINTAINERCLEANFILES = $(srcdir)/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
|
|
|
|
2004-12-29 14:54:44 +08:00
|
|
|
pkgdata_DATA = $(srcdir)/INSTALL
|
2002-07-29 16:23:56 +08:00
|
|
|
AM_MAKEINFOFLAGS = --no-headers --no-validate --no-split
|
2004-12-29 14:54:44 +08:00
|
|
|
$(srcdir)/INSTALL: $(top_srcdir)/doc/install.texi
|
|
|
|
$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -o $@ \
|
2002-07-29 16:23:56 +08:00
|
|
|
$(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:
|
2004-01-05 15:05:22 +08:00
|
|
|
rm -f -r Fetchdir > /dev/null 2>&1
|
2003-08-20 14:29:54 +08:00
|
|
|
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
|