Reword the copyright notices to match what's suggested in GPLv3.
[automake/plouj.git] / lib / Makefile.am
blobf4929e6d8fa48019bf79fbacd6b8a0b8961a39f0
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 3, 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, see <http://www.gnu.org/licenses/>.
20 SUBDIRS = Automake am
22 dist_pkgvdata_DATA = COPYING INSTALL texinfo.tex ansi2knr.c ansi2knr.1 \
23   config-ml.in
25 ## These must all be executable when installed.  However, if we use
26 ## _SCRIPTS, then the program transform will be applied, which is not
27 ## what we want.  So we make them executable by hand.
28 scriptdir = $(pkgvdatadir)
29 dist_script_DATA = config.guess config.sub install-sh mdate-sh missing \
30   mkinstalldirs elisp-comp ylwrap acinstall depcomp compile py-compile \
31   symlink-tree
33 EXTRA_DIST = gnupload
35 install-data-hook:
36         @$(POST_INSTALL)
37         @for prog in $(dist_script_DATA); do \
38           echo " chmod +x $(DESTDIR)$(scriptdir)/$$prog"; \
39           chmod +x $(DESTDIR)$(scriptdir)/$$prog; \
40         done
42 ## `test -x' is not portable.  So we use Perl instead.  If Perl
43 ## doesn't exist, then this test is meaningless anyway.
44 installcheck-local:
45         for file in $(dist_script_DATA); do \
46           $(PERL) -e "exit ! -x '$(pkgvdatadir)/$$file';" || exit 1; \
47         done