Fix the definition of abspath for gnu make < 3.81
authorVolker Lendecke <vl@samba.org>
Fri, 27 Jun 2008 10:14:19 +0000 (12:14 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 27 Jun 2008 10:14:19 +0000 (12:14 +0200)
source/build/make/templates.mk

index d4973e7dd6c968a16709122ee8f59710fe4b092e..e89122b443d707df42accb4a0f7fa8ef399c03ff 100644 (file)
@@ -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