summaryrefslogtreecommitdiff
path: root/Makefile.orig
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2009-07-13 16:07:25 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:11 -0600
commit1a65ae278e81946ec3a8af43b1f6f18c26e1161a (patch)
treeb08ab355f44ca036ff4e9743966454d5df1a1e09 /Makefile.orig
parent1f75a1dff61a33dea973ebeea64a3bd8bccb715a (diff)
rvs-0.6.1 -- make it possible to compile from another directory
Diffstat (limited to 'Makefile.orig')
-rw-r--r--Makefile.orig3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.orig b/Makefile.orig
index 00c3354..8bc4006 100644
--- a/Makefile.orig
+++ b/Makefile.orig
@@ -18,6 +18,7 @@ SHELL = $$SHELL$$
prefix = $$prefix$$
bindir = $$bindir$$
libdir = $$libdir$$
+sourcedir = @@sourcedir@@
# Targets ##########################################################
rvs : wrapper core
@@ -44,7 +45,7 @@ f : lib out/rvs-core/commit.f out/rvs-core/get.f
lib: out/rvs-core/lib/stdio out/rvs-core/lib/rvsdb
-out/% : source/% tmp/var.sed
+out/% : $(sourcedir)/source/% tmp/var.sed
tmp/var.sed <$< > $@
clean :