summaryrefslogtreecommitdiffstats
path: root/package/rxvt/rxvt.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/rxvt/rxvt.mk')
-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