commit f19525a1d267e1407ebbec510e56c8c0a24b725c
parent a8102c33d7b1bd6fe933bf0202e5d66d27529648
Author: Kris Maglione <kris@suckless.org>
Date: Mon, 24 May 2010 15:25:19 -0400
Fix install problem introduced in revision 0946163ab7a0.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mk/hdr.mk b/mk/hdr.mk
@@ -94,7 +94,7 @@ MAKEFILES=.depend
INSTALL= _install() { set -e; \
dashb=$$1; [ $$1 = -b ] && shift; \
- d=$(DESTDIR)$$3; f=$$3/$$(basename $$4); \
+ d=$(DESTDIR)$$3; f=$$d/$$(basename $$4); \
if [ ! -d $$d ]; then echo MKDIR $$3; mkdir -p $$d; fi; \
echo INSTALL $$($(CLEANNAME) $(BASE)$$2); \
[ -n "$(noisycc)" ] && set -x; \