From: Peter Korsgaard Date: Fri, 27 Jun 2008 11:15:49 +0000 (-0000) Subject: rxvt: fix target install (make sure directory exists) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=94d42a08baae04470cecd33cc97c80c7bc3bb424;p=buildroot.git rxvt: fix target install (make sure directory exists) --- diff --git a/package/rxvt/rxvt.mk b/package/rxvt/rxvt.mk index e3b935a6b4..41f9bdcd69 100644 --- a/package/rxvt/rxvt.mk +++ b/package/rxvt/rxvt.mk @@ -62,8 +62,8 @@ $(RXVT_BINARY): $(RXVT_DIR)/.configured $(STRIPCMD) $(STRIP_DISCARD_ALL) $(RXVT_BINARY) $(TARGET_DIR)$(X11_PREFIX)/bin/rxvt: $(RXVT_BINARY) - cp -f $(RXVT_BINARY) $(TARGET_DIR)$(X11_PREFIX)/bin - (cd $(TARGET_DIR)$(X11_PREFIX)/bin; ln -fs rxvt xterm) + $(INSTALL) -m 0755 -D $^ $@ + (cd $(@D); ln -fs rxvt xterm) rxvt: $(XSERVER) $(TARGET_DIR)$(X11_PREFIX)/bin/rxvt