Reword the copyright notices to match what's suggested in GPLv3.
[automake/plouj.git] / lib / am / data.am
blob33b0613cfe7cc99f83768ce3f88c9c09650c1834
1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright (C) 1994, 1995, 1996, 1998, 1999, 2001, 2003, 2004, 2006, 2007
3 ## Free Software Foundation, Inc.
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 3, or (at your option)
8 ## any later version.
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.
15 ## You should have received a copy of the GNU General Public License
16 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 if %?INSTALL%
19 include inst-vars.am
20 endif %?INSTALL%
22 ## ------------ ##
23 ## Installing.  ##
24 ## ------------ ##
26 if %?INSTALL%
27 am__installdirs += "$(DESTDIR)$(%NDIR%dir)"
28 ?BASE?%DIR%%PRIMARY%_INSTALL = $(INSTALL_%ONE_PRIMARY%)
29 ?!BASE?%DIR%%PRIMARY%_INSTALL = $(install_sh_DATA)
30 .PHONY install-%EXEC?exec:data%-am: install-%DIR%%PRIMARY%
31 install-%DIR%%PRIMARY%: $(%DIR%_%PRIMARY%)
32         @$(NORMAL_INSTALL)
33         test -z "$(%NDIR%dir)" || $(MKDIR_P) "$(DESTDIR)$(%NDIR%dir)"
34 ?!BASE? @$(am__vpath_adj_setup) \
35 ## Funny invocation because Makefile variable can be empty, leading to
36 ## a syntax error in sh.
37         %BASE?@%list='$(%DIR%_%PRIMARY%)'; for p in $$list; do \
38 ## A file can be in the source directory or the build directory.
39           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
40 ## If the _%PRIMARY% variable has an entry like foo/bar, install it as
41 ## $(destdir)/bar, not $(destdir)/foo/bar.  The user can make a
42 ## new dir variable or use a nobase_ target for the latter case.
43           %BASE?$(am__strip_dir):$(am__vpath_adj)% \
44           echo " $(%DIR%%PRIMARY%_INSTALL) '$$d$$p' '$(DESTDIR)$(%NDIR%dir)/$$f'"; \
45           $(%DIR%%PRIMARY%_INSTALL) "$$d$$p" "$(DESTDIR)$(%NDIR%dir)/$$f"; \
46         done
47 endif %?INSTALL%
50 ## -------------- ##
51 ## Uninstalling.  ##
52 ## -------------- ##
54 if %?INSTALL%
55 .PHONY uninstall-am: uninstall-%DIR%%PRIMARY%
56 uninstall-%DIR%%PRIMARY%:
57         @$(NORMAL_UNINSTALL)
58 ?!BASE? @$(am__vpath_adj_setup) \
59         %BASE?@%list='$(%DIR%_%PRIMARY%)'; for p in $$list; do \
60           %BASE?$(am__strip_dir):$(am__vpath_adj)% \
61           echo " rm -f '$(DESTDIR)$(%NDIR%dir)/$$f'"; \
62           rm -f "$(DESTDIR)$(%NDIR%dir)/$$f"; \
63         done
64 endif %?INSTALL%
67 ## ---------- ##
68 ## Cleaning.  ##
69 ## ---------- ##
71 ## Nothing.
74 ## -------------- ##
75 ## Distributing.  ##
76 ## -------------- ##
78 if %?DIST%
79 DIST_COMMON += %DISTVAR%
80 endif %?DIST%