summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-06-27 11:15:49 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-06-27 11:15:49 +0000
commit94d42a08baae04470cecd33cc97c80c7bc3bb424 (patch)
treef65ce47fd52653a8b7342c76d15dd537ed975cc1
parent8ba9a9971c7f59e14de76786445b9a9349e4b73e (diff)
rxvt: fix target install (make sure directory exists)
-rw-r--r--package/rxvt/rxvt.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/rxvt/rxvt.mk b/package/rxvt/rxvt.mk
index e3b935a6b..41f9bdcd6 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