GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / toolchains / hndtools-arm-linux-2.6.36-uclibc-4.5.3 / share / automake-1.11 / am / data.am
blob36af717f09574c84ac754bd0008b845d65516873
1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright (C) 1994, 1995, 1996, 1998, 1999, 2001, 2003, 2004, 2006,
3 ## 2007, 2008, 2009  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 2, 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 .PHONY install-%EXEC?exec:data%-am: install-%DIR%%PRIMARY%
29 install-%DIR%%PRIMARY%: $(%DIR%_%PRIMARY%)
30         @$(NORMAL_INSTALL)
31         test -z "$(%NDIR%dir)" || $(MKDIR_P) "$(DESTDIR)$(%NDIR%dir)"
32 if %?BASE%
33 ## Funny invocation because Makefile variable can be empty, leading to
34 ## a syntax error in sh.
35         @list='$(%DIR%_%PRIMARY%)'; test -n "$(%NDIR%dir)" || list=; \
36         for p in $$list; do \
37 ## A file can be in the source directory or the build directory.
38           if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
39 ## If the _%PRIMARY% variable has an entry like foo/bar, install it as
40 ## $(destdir)/bar, not $(destdir)/foo/bar.  The user can make a
41 ## new dir variable or use a nobase_ target for the latter case.
42           echo "$$d$$p"; \
43         done | $(am__base_list) | \
44         while read files; do \
45           echo " $(INSTALL_%ONE_PRIMARY%) $$files '$(DESTDIR)$(%NDIR%dir)'"; \
46           $(INSTALL_%ONE_PRIMARY%) $$files "$(DESTDIR)$(%NDIR%dir)" || exit $$?; \
47         done
48 else !%?BASE%
49         @list='$(%DIR%_%PRIMARY%)'; test -n "$(%NDIR%dir)" || list=; \
50         $(am__nobase_list) | while read dir files; do \
51           xfiles=; for file in $$files; do \
52             if test -f "$$file"; then xfiles="$$xfiles $$file"; \
53             else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
54           test -z "$$xfiles" || { \
55             test "x$$dir" = x. || { \
56               echo "$(MKDIR_P) '$(DESTDIR)$(%NDIR%dir)/$$dir'"; \
57               $(MKDIR_P) "$(DESTDIR)$(%NDIR%dir)/$$dir"; }; \
58             echo " $(INSTALL_%ONE_PRIMARY%) $$xfiles '$(DESTDIR)$(%NDIR%dir)/$$dir'"; \
59             $(INSTALL_%ONE_PRIMARY%) $$xfiles "$(DESTDIR)$(%NDIR%dir)/$$dir" || exit $$?; }; \
60         done
61 endif !%?BASE%
62 endif %?INSTALL%
65 ## -------------- ##
66 ## Uninstalling.  ##
67 ## -------------- ##
69 if %?INSTALL%
70 .PHONY uninstall-am: uninstall-%DIR%%PRIMARY%
71 uninstall-%DIR%%PRIMARY%:
72         @$(NORMAL_UNINSTALL)
73         @list='$(%DIR%_%PRIMARY%)'; test -n "$(%NDIR%dir)" || list=; \
74 ?BASE?  files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
75 ?!BASE? $(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
76         test -n "$$files" || exit 0; \
77         echo " ( cd '$(DESTDIR)$(%NDIR%dir)' && rm -f" $$files ")"; \
78         cd "$(DESTDIR)$(%NDIR%dir)" && rm -f $$files
79 endif %?INSTALL%
82 ## ---------- ##
83 ## Cleaning.  ##
84 ## ---------- ##
86 ## Nothing.
89 ## -------------- ##
90 ## Distributing.  ##
91 ## -------------- ##
93 if %?DIST%
94 DIST_COMMON += %DISTVAR%
95 endif %?DIST%