summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-06-27 12:14:19 +0200
committerVolker Lendecke <vl@samba.org>2008-06-27 12:14:19 +0200
commitf2725f14918b7d1cd7664fe41ad0fc184aa794c8 (patch)
treec584761d5c6921e519f78e87b0b2aa573da615b0
parent0b8508f75eac84ef68850e91300fb837a621cc77 (diff)
downloadsamba-f2725f14918b7d1cd7664fe41ad0fc184aa794c8.tar.gz
Fix the definition of abspath for gnu make < 3.81
-rw-r--r--source/build/make/templates.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/build/make/templates.mk b/source/build/make/templates.mk
index d4973e7dd6c..e89122b443d 100644
--- a/source/build/make/templates.mk
+++ b/source/build/make/templates.mk
@@ -120,7 +120,7 @@ uninstallplugins::
endef
# abspath for older makes
-abspath := $(shell cd $(1); pwd)
+abspath = $(shell cd $(dir $(1)); pwd)/$(notdir $(1))
# Install a binary
# Arguments: path to binary to install