2001-08-01 21:46:22 +08:00
|
|
|
## Process this file with automake to create Makefile.in
|
|
|
|
|
2002-09-28 22:06:07 +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.
|
|
|
|
|
2001-08-01 21:46:22 +08:00
|
|
|
autoscanlibdir = $(pkgdatadir)/autoscan
|
|
|
|
|
2002-10-25 21:19:25 +08:00
|
|
|
EXTRA_DIST = autoscan.pre
|
|
|
|
nodist_autoscanlib_DATA = autoscan.list
|
2002-10-25 22:30:51 +08:00
|
|
|
CLEANFILES = autoscan.list
|
2002-09-28 22:06:07 +08:00
|
|
|
|
|
|
|
## ------------------------ ##
|
|
|
|
## Building autoscan.list. ##
|
|
|
|
## ------------------------ ##
|
|
|
|
|
|
|
|
## autoscan.list might change when autoconf.m4f sources change.
|
|
|
|
## Therefore we want the same dependencies as autoconf.m4f, which
|
|
|
|
## are listed in freeze.mk. It also ensure that tests/autom4te
|
|
|
|
## is built (we need it in the command below).
|
|
|
|
include ../freeze.mk
|
|
|
|
|
2002-10-25 21:19:25 +08:00
|
|
|
autoscan.list: $(srcdir)/autoscan.pre $(autoconf_m4f_dependencies) Makefile.am
|
|
|
|
echo '# Automatically Generated: do not edit this file' >autoscan.list
|
|
|
|
sed '/^[#]/!q' $(srcdir)/autoscan.pre >>autoscan.list
|
2002-09-28 22:06:07 +08:00
|
|
|
( \
|
2002-09-28 22:09:42 +08:00
|
|
|
sed -n '/^[^#]/p' $(srcdir)/autoscan.pre; \
|
2002-10-25 23:12:59 +08:00
|
|
|
$(MY_AUTOM4TE) --cache '' -M -l autoconf -t'AN_OUTPUT:$$1: $$2 $$3' \
|
2002-10-25 21:19:25 +08:00
|
|
|
) | LC_ALL=C sort >>autoscan.list
|