diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-10-03 22:45:38 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-10-03 22:52:16 +0200 |
commit | c3bb9c1cc4e86367ced83f9f7117541172f5570b (patch) | |
tree | 188b66a2cd7a0e6f82bd478ebd03dbe8ee600b42 | |
parent | 58508f39cc9afba83adf230bdad5a38c8dca62a9 (diff) | |
download | buildroot-novena-c3bb9c1cc4e86367ced83f9f7117541172f5570b.tar.gz buildroot-novena-c3bb9c1cc4e86367ced83f9f7117541172f5570b.zip |
shared-mime-info: create post-install-hook stamp file
Ensures that the hook isn't run every time. Also use the real stamp
file from the host build instead of host-share-mime-info as dependency,
as otherwise the target is always considered out-of-date.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r-- | package/shared-mime-info/shared-mime-info.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/shared-mime-info/shared-mime-info.mk b/package/shared-mime-info/shared-mime-info.mk index 3818f47b5..48895e056 100644 --- a/package/shared-mime-info/shared-mime-info.mk +++ b/package/shared-mime-info/shared-mime-info.mk @@ -66,6 +66,7 @@ host-shared-mime-info-dirclean: rm -rf $(SHARED_MIME_INFO_HOST_DIR) # update the shared-mime-info database in the target -$(SHARED_MIME_INFO_HOOK_POST_INSTALL): host-shared-mime-info +$(SHARED_MIME_INFO_HOOK_POST_INSTALL): $(STAMP_DIR)/host_shared-mime-info_installed $(SHARED_MIME_INFO_HOST_BINARY) $(STAGING_DIR)/usr/share/mime $(INSTALL) -D $(STAGING_DIR)/usr/share/mime/mime.cache $(TARGET_DIR)/usr/share/mime/mime.cache + touch $@ |