1 |
## Process this file with automake to create Makefile.in |
## 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., 59 Temple Place - Suite 330, Boston, MA |
18 |
|
## 02111-1307, USA. |
19 |
|
|
20 |
autoscanlibdir = $(pkgdatadir)/autoscan |
autoscanlibdir = $(pkgdatadir)/autoscan |
21 |
|
|
22 |
dist_autoscanlib_DATA = autoscan.list |
dist_autoscanlib_DATA = autoscan.pre autoscan.list |
23 |
|
|
24 |
|
|
25 |
|
## ------------------------ ## |
26 |
|
## Building autoscan.list. ## |
27 |
|
## ------------------------ ## |
28 |
|
|
29 |
|
## autoscan.list might change when autoconf.m4f sources change. |
30 |
|
## Therefore we want the same dependencies as autoconf.m4f, which |
31 |
|
## are listed in freeze.mk. It also ensure that tests/autom4te |
32 |
|
## is built (we need it in the command below). |
33 |
|
include ../freeze.mk |
34 |
|
|
35 |
|
autoscan.list: Makefile.am autoscan.pre $(autoconf_m4f_dependencies) |
36 |
|
echo '# Automatically Generated: do not edit this file' > autoscan.list |
37 |
|
sed '/^[#]/!q' autoscan.pre >>autoscan.list |
38 |
|
( \ |
39 |
|
sed -n '/^[^#]/p' autoscan.pre; \ |
40 |
|
$(MY_AUTOM4TE) -M -l autoconf -t'AN_OUTPUT:$$1: $$2 $$3' \ |
41 |
|
) | sort >>autoscan.list |