Update automake to version 1.10
[msysgit.git] / share / automake-1.10 / am / inst-vars.am
blob81f00fd91a700cf44a407b9c08a3fde4997e19ff
1 ## automake - create Makefile.in from Makefile.am
2 ## Copyright (C) 2004  Free Software Foundation, Inc.
4 ## This program is free software; you can redistribute it and/or modify
5 ## it under the terms of the GNU General Public License as published by
6 ## the Free Software Foundation; either version 2, or (at your option)
7 ## any later version.
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 ## GNU General Public License for more details.
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program; if not, write to the Free Software
16 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 ## 02110-1301, USA.
19 if %?FIRST%
20 ## These variables help stripping any $(VPATH) that some
21 ## Make implementations prepend before VPATH-found files.
22 ## The issue is discussed at length in distdir.am.
23 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
24 am__vpath_adj = case $$p in \
25     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
26     *) f=$$p;; \
27   esac;
28 ## Strip all directories.
29 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
30 endif %?FIRST%