From bf54c4028b8516d99efd6b81e02fb3f907c8d2a7 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 25 Jan 2016 17:01:05 +0100 Subject: [PATCH] HACK: Makefile: work around broken DESTDIR usage Signed-off-by: Koen Kooi --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 907669d..230056d 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,7 @@ PREFIX=$(DESTDIR)/usr # Pathnames for this package... BIN=$(PREFIX)/bin +DESTBIN=/usr/bin SHAREZJS=$(PREFIX)/share/foo2zjs SHAREOAK=$(PREFIX)/share/foo2oak SHAREHP=$(PREFIX)/share/foo2hp @@ -1034,7 +1035,7 @@ install-hotplug-osx: install-filter: if [ "$(CUPS_SERVERBIN)" != "" ]; then \ - ln -sf $(BIN)/command2foo2lava-pjl $(CUPS_SERVERBIN)/filter/; \ + ln -sf $(DESTBIN)/command2foo2lava-pjl $(CUPS_SERVERBIN)/filter/; \ fi CUPSDCONF=/etc/cups/cupsd.conf