source: trunk/essentials/sys-devel/autoconf/lib/autoscan/Makefile.am

Last change on this file was 3092, checked in by bird, 18 years ago

autoconf 2.61

File size: 1.7 KB
Line 
1## Process this file with automake to create Makefile.in
2
3## Copyright 2001, 2002 Free Software Foundation, Inc.
4##
5## This program is free software; you can redistribute it and/or modify
6## it under the terms of the GNU General Public License as published by
7## the Free Software Foundation; either version 2, or (at your option)
8## any later version.
9##
10## This program is distributed in the hope that it will be useful,
11## but WITHOUT ANY WARRANTY; without even the implied warranty of
12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13## GNU General Public License for more details.
14##
15## You should have received a copy of the GNU General Public License
16## along with this program; if not, write to the Free Software
17## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18## 02110-1301, USA.
19
20autoscanlibdir = $(pkgdatadir)/autoscan
21
22EXTRA_DIST = autoscan.pre
23nodist_autoscanlib_DATA = autoscan.list
24CLEANFILES = autoscan.list
25
26## ------------------------ ##
27## Building autoscan.list. ##
28## ------------------------ ##
29
30## autoscan.list might change when autoconf.m4f sources change.
31## Therefore we want the same dependencies as autoconf.m4f, which
32## are listed in freeze.mk. It also ensure that tests/autom4te
33## is built (we need it in the command below).
34include ../freeze.mk
35
36autoscan.list: $(srcdir)/autoscan.pre $(autoconf_m4f_dependencies) Makefile.am
37 echo '# Automatically Generated: do not edit this file' >autoscan.list
38 sed '/^[#]/!q' $(srcdir)/autoscan.pre >>autoscan.list
39 ( \
40 sed -n '/^[^#]/p' $(srcdir)/autoscan.pre; \
41 $(MY_AUTOM4TE) --cache '' -M -l autoconf -t'AN_OUTPUT:$$1: $$2 $$3' \
42 ) | LC_ALL=C sort >>autoscan.list
Note: See TracBrowser for help on using the repository browser.