source: trunk/essentials/sys-devel/automake-1.7/lib/Makefile.am

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

automake 1.7.9

File size: 1.7 KB
Line 
1## Process this file with automake to create Makefile.in
2
3## Makefile for Automake lib.
4
5## Copyright 2001 Free Software Foundation, Inc.
6
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.
11
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.
16
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., 59 Temple Place - Suite 330, Boston, MA
20## 02111-1307, USA.
21
22SUBDIRS = Automake am
23
24dist_pkgvdata_DATA = COPYING INSTALL texinfo.tex ansi2knr.c ansi2knr.1
25
26## These must all be executable when installed. However, if we use
27## _SCRIPTS, then the program transform will be applied, which is not
28## what we want. So we make them executable by hand.
29scriptdir = $(pkgvdatadir)
30dist_script_DATA = config.guess config.sub install-sh mdate-sh missing \
31 mkinstalldirs elisp-comp ylwrap acinstall depcomp compile py-compile \
32 config-ml.in symlink-tree
33
34install-data-hook:
35 @$(POST_INSTALL)
36 @for prog in $(dist_script_DATA); do \
37 echo " chmod +x $(DESTDIR)$(scriptdir)/$$prog"; \
38 chmod +x $(DESTDIR)$(scriptdir)/$$prog; \
39 done
40
41## `test -x' is not portable. So we use Perl instead. If Perl
42## doesn't exist, then this test is meaningless anyway.
43installcheck-local:
44 for file in $(dist_script_DATA); do \
45 $(PERL) -e "exit ! -x '$(pkgvdatadir)/$$file';" || exit 1; \
46 done
Note: See TracBrowser for help on using the repository browser.