diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2007-11-26 12:23:13 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2007-11-26 12:23:13 +0000 |
commit | 1a7da64fa571c5c3ef461c3fef97607ae78071bf (patch) | |
tree | 20ed39df9fa2bbed5c032a01b873e15999bc788d | |
parent | f3b5e671799908506396a48a8f71fe5cf3b10232 (diff) |
Create target file at end of rule so it gets rerun on failure on any of the
sub steps (thanks Ulf).
-rw-r--r-- | package/avahi/avahi.mk | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk index fcdfd7db2..1083d9a52 100644 --- a/package/avahi/avahi.mk +++ b/package/avahi/avahi.mk @@ -147,32 +147,31 @@ $(AVAHI_DIR)/.installed: $(AVAHI_DIR)/.compiled touch $@ $(TARGET_DIR)/usr/sbin/avahi-autoipd: $(AVAHI_DIR)/.installed - cp $(STAGING_DIR)/usr/sbin/avahi-autoipd \ - $(TARGET_DIR)/usr/sbin/avahi-autoipd mkdir -p $(TARGET_DIR)/etc/avahi mkdir -p $(TARGET_DIR)/var/lib - ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd cp -af $(STAGING_DIR)/etc/avahi/avahi-autoipd.action $(TARGET_DIR)/etc/avahi/ cp -af $(BASE_DIR)/package/avahi/busybox-udhcpc-default.script $(TARGET_DIR)/usr/share/udhcpc/default.script - cp -af $(BASE_DIR)/package/avahi/S05avahi-setup.sh $(TARGET_DIR)/etc/init.d/ chmod 0755 $(TARGET_DIR)/usr/share/udhcpc/default.script + cp -af $(BASE_DIR)/package/avahi/S05avahi-setup.sh $(TARGET_DIR)/etc/init.d/ + cp $(STAGING_DIR)/usr/sbin/avahi-autoipd $(TARGET_DIR)/usr/sbin/avahi-autoipd + ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@ $(TARGET_DIR)/usr/sbin/avahi-daemon: $(AVAHI_DIR)/.installed - cp $(STAGING_DIR)/usr/sbin/avahi-daemon \ - $(TARGET_DIR)/usr/sbin/avahi-daemon - cp -dpf $(STAGING_DIR)/usr/lib/libavahi-*.so* $(TARGET_DIR)/usr/lib/ mkdir -p $(TARGET_DIR)/etc/avahi/services + cp -dpf $(STAGING_DIR)/usr/lib/libavahi-*.so* $(TARGET_DIR)/usr/lib/ + $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libavahi-*.so* cp -af $(STAGING_DIR)/etc/avahi/avahi-daemon.conf $(TARGET_DIR)/etc/avahi/ cp -af $(BASE_DIR)/package/avahi/S50avahi-daemon $(TARGET_DIR)/etc/init.d/ - $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@ - $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libavahi-*.so* ifeq ($(strip $(BR2_PACKAGE_DBUS)),y) cp -dpf $(STAGING_DIR)/usr/bin/avahi-* $(TARGET_DIR)/usr/bin $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/bin/avahi-* cp -r $(STAGING_DIR)/etc/dbus-1/system.d/avahi-* \ $(TARGET_DIR)/etc/dbus-1/system.d/ endif + cp $(STAGING_DIR)/usr/sbin/avahi-daemon \ + $(TARGET_DIR)/usr/sbin/avahi-daemon + $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@ avahi: uclibc busybox libdaemon $(AVAHI_TARGETS) |