From c46c7c7584e069a4a4158683c002f08e307d66cc Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Wed, 29 Feb 2012 21:37:14 +0000 Subject: [PATCH] tweak portable get-cwd trick code to work on GNU-make 3.82 --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fe8b9d7..30e70a4 100644 --- a/Makefile +++ b/Makefile @@ -46,10 +46,10 @@ MAN = man ################################################################# -# pmake way. -top != pwd +# pmake way. (NB no spaces to keep gmake 3.82 happy) +top!=pwd # GNU make way. -top ?= $(shell pwd) +top?=$(CURDIR) dbus_cflags = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_DBUS $(PKG_CONFIG) --cflags dbus-1` dbus_libs = `echo $(COPTS) | $(top)/bld/pkg-wrapper HAVE_DBUS $(PKG_CONFIG) --libs dbus-1`