summaryrefslogtreecommitdiff
path: root/build_posix/makemake
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2011-09-01 08:25:36 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2011-09-01 08:25:36 +1000
commit6ba3445126c94b40c68ae0f2daa2df0d9ca8451c (patch)
tree5bca8c16f18253f8859fd16afff7e35276e3a0b3 /build_posix/makemake
parentd47358ae3967fbbbe0b8975921e5d6dba925fba1 (diff)
downloadmongo-6ba3445126c94b40c68ae0f2daa2df0d9ca8451c.tar.gz
Rearrange directories to keep Makefile.am with the sources.
--HG-- rename : build_posix/AUTHORS => AUTHORS rename : build_posix/bench/tcbench/Makefile.am => bench/tcbench/Makefile.am rename : build_posix/configure.ac => configure.ac rename : build_posix/ext/compressors/bzip2_compress/Makefile.am => ext/compressors/bzip2_compress/Makefile.am rename : build_posix/ext/compressors/nop_compress/Makefile.am => ext/compressors/nop_compress/Makefile.am rename : build_posix/test/format/Makefile.am => test/format/Makefile.am rename : build_posix/test/insert/Makefile.am => test/insert/Makefile.am rename : build_posix/test/salvage/Makefile.am => test/salvage/Makefile.am rename : build_posix/test/thread/Makefile.am => test/thread/Makefile.am
Diffstat (limited to 'build_posix/makemake')
-rwxr-xr-x[-rw-r--r--]build_posix/makemake12
1 files changed, 3 insertions, 9 deletions
diff --git a/build_posix/makemake b/build_posix/makemake
index bf4e6d1fb1a..bf54ba2af4b 100644..100755
--- a/build_posix/makemake
+++ b/build_posix/makemake
@@ -11,19 +11,13 @@ set_sources()
echo "libwiredtiger_la_LDFLAGS = -release @VERSION@"
echo "libwiredtiger_la_SOURCES=\\"
sed -e '/^[a-z]/! d' \
- -e 's/.*/ ..\/& \\/' \
+ -e 's/.*/ & \\/' \
-e '$s/ \\$//' < $filelist
}
set_vpath()
{
- echo
- printf "VPATH = ../examples/c:"
- sed -e '/^[a-z]/! d' \
- -e 's/\(.*\)\/.*/\1/' < $filelist |
- sort -u |
- while read d ; do printf "../%s:" $d ; done
- echo "../src/utilities"
+ echo 'VPATH = $(srcdir):$(srcdir)/src/utilities'
}
-(cat Make.base; set_vpath; set_sources) > Makefile.am
+(cat Make.base; set_vpath; set_sources) > ../Makefile.am