diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2011-03-05 14:21:24 +0100 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2011-03-07 20:57:37 +0100 |
commit | 8f2566c5a39f758bb0db337fc106fa94f52220df (patch) | |
tree | 47107416f6164458434a5a934bebb98741c215d1 /ecpg.mk | |
parent | fef5564a64870ce438d0b1185df521fd54126171 (diff) | |
download | rasdaman-upstream-8f2566c5a39f758bb0db337fc106fa94f52220df.tar.gz rasdaman-upstream-8f2566c5a39f758bb0db337fc106fa94f52220df.tar.xz rasdaman-upstream-8f2566c5a39f758bb0db337fc106fa94f52220df.zip |
build: Support (srcdir != builddir) VDIR builds
Support (srcdir != builddir) VDIR builds.
This will also help a lot with preparing for a working
"make distcheck".
Diffstat (limited to 'ecpg.mk')
-rw-r--r-- | ecpg.mk | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +# -*- Makefile -*- +# ecpg.mk + +SUFFIXES = .@EMBEDDEDSQLEXT@ .@EMBEDDEDSQLOUT@ + +.@EMBEDDEDSQLEXT@.@EMBEDDEDSQLOUT@: + set -x; cwd="$$PWD"; \ + cd "$$(dirname "$<")" && $(EMBEDDEDSQLPRECOMPILER) -o "$$cwd/$@" "$$(basename "$<")" |