* NEWS: Mark de-ANSI-fication as being obsolete.
[automake.git] / lib / Makefile.am
blobf9ded1d638b7a71eff78fdf1a18c19dd1a794813
1 ## Process this file with automake to create Makefile.in
3 ## Makefile for Automake lib.
5 ## Copyright (C) 2001, 2003, 2004 Free Software Foundation, Inc.
7 ## This program is free software; you can redistribute it and/or modify
8 ## it under the terms of the GNU General Public License as published by
9 ## the Free Software Foundation; either version 2, or (at your option)
10 ## any later version.
12 ## This program is distributed in the hope that it will be useful,
13 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 ## GNU General Public License for more details.
17 ## You should have received a copy of the GNU General Public License
18 ## along with this program; if not, write to the Free Software
19 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 ## 02110-1301, USA.
22 SUBDIRS = Automake am
24 dist_pkgvdata_DATA = COPYING INSTALL texinfo.tex ansi2knr.c ansi2knr.1 \
25   config-ml.in
27 ## These must all be executable when installed.  However, if we use
28 ## _SCRIPTS, then the program transform will be applied, which is not
29 ## what we want.  So we make them executable by hand.
30 scriptdir = $(pkgvdatadir)
31 dist_script_DATA = config.guess config.sub install-sh mdate-sh missing \
32   mkinstalldirs elisp-comp ylwrap acinstall depcomp compile py-compile \
33   symlink-tree
35 EXTRA_DIST = gnupload
37 install-data-hook:
38         @$(POST_INSTALL)
39         @for prog in $(dist_script_DATA); do \
40           echo " chmod +x $(DESTDIR)$(scriptdir)/$$prog"; \
41           chmod +x $(DESTDIR)$(scriptdir)/$$prog; \
42         done
44 ## `test -x' is not portable.  So we use Perl instead.  If Perl
45 ## doesn't exist, then this test is meaningless anyway.
46 installcheck-local:
47         for file in $(dist_script_DATA); do \
48           $(PERL) -e "exit ! -x '$(pkgvdatadir)/$$file';" || exit 1; \
49         done