diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-03-27 15:42:42 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-03-27 15:42:42 +0000 |
commit | dfe689229df9afe9a3b7783b477ed82f9a521dbc (patch) | |
tree | 8df36ce9bed6d4b92051cad70481b1ee73404446 /package/rdesktop/rdesktop.mk | |
parent | 584e60c7972c6f720492c31f82715af9328eda06 (diff) |
buildroot: cleanup <package>-clean targets.
Based on input from Arndt Kritzner & Bernhard Fischer.
Diffstat (limited to 'package/rdesktop/rdesktop.mk')
-rw-r--r-- | package/rdesktop/rdesktop.mk | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/package/rdesktop/rdesktop.mk b/package/rdesktop/rdesktop.mk index f3bbd2a34..d2d03f9c8 100644 --- a/package/rdesktop/rdesktop.mk +++ b/package/rdesktop/rdesktop.mk @@ -35,18 +35,16 @@ $(RDESKTOP_DIR)/.configured: $(RDESKTOP_DIR)/.unpacked $(RDESKTOP_DIR)/rdesktop: $(RDESKTOP_DIR)/.configured $(MAKE) CC=$(TARGET_CC) -C $(RDESKTOP_DIR) -$(RDESKTOP_DIR)/.installed: $(RDESKTOP_DIR)/rdesktop - cp $(RDESKTOP_DIR)/rdesktop $(TARGET_DIR)/usr/bin - touch $(RDESKTOP_DIR)/.installed +$(TARGET_DIR)/usr/bin/rdesktop: $(RDESKTOP_DIR)/rdesktop + cp $^ $@ -rdesktop: uclibc openssl $(XSERVER) $(RDESKTOP_DIR)/.installed +rdesktop: uclibc openssl $(XSERVER) $(TARGET_DIR)/usr/bin/rdesktop rdesktop-source: $(DL_DIR)/$(RDESKTOP_SOURCE) rdesktop-clean: - @if [ -d $(RDESKTOP_DIR)/Makefile ]; then \ - $(MAKE) -C $(RDESKTOP_DIR) clean; \ - fi + -$(MAKE) -C $(RDESKTOP_DIR) clean + rm -f $(TARGET_DIR)/usr/bin/rdesktop rdesktop-dirclean: rm -rf $(RDESKTOP_DIR) $(RDESKTOP_DIR) |