[tracker] Firefox, Thunderbird: Fix build system for plugins to work for packaging



commit 84055af8e2a777ffc0ccd52593108f68f1ad84ca
Author: Vincent Untz <vuntz gnome org>
Date:   Mon Aug 1 09:08:07 2011 +0100

    Firefox, Thunderbird: Fix build system for plugins to work for packaging
    
    Fixes GB#655701

 src/plugins/firefox/Makefile.am     |    6 +++---
 src/plugins/thunderbird/Makefile.am |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/plugins/firefox/Makefile.am b/src/plugins/firefox/Makefile.am
index 5da6190..e5ebebf 100644
--- a/src/plugins/firefox/Makefile.am
+++ b/src/plugins/firefox/Makefile.am
@@ -12,8 +12,8 @@ extension_DATA = \
 EXTRA_DIST = $(extension_DATA)
 
 install-data-hook:
-	mkdir -p "$(TRACKER_MINER_FIREFOX_INSTALL_DIR)"
-	$(LN_S) "$(extensiondir)" "$(TRACKER_MINER_FIREFOX_INSTALL_DIR)/trackerfox bustany org"
+	mkdir -p "$(DESTDIR)$(TRACKER_MINER_FIREFOX_INSTALL_DIR)"
+	$(LN_S) "$(extensiondir)" "$(DESTDIR)$(TRACKER_MINER_FIREFOX_INSTALL_DIR)/trackerfox bustany org"
 
 uninstall-hook:
-	$(RM) "$(TRACKER_MINER_FIREFOX_INSTALL_DIR)/trackerfox bustany org"
\ No newline at end of file
+	$(RM) "$(DESTDIR)$(TRACKER_MINER_FIREFOX_INSTALL_DIR)/trackerfox bustany org"
diff --git a/src/plugins/thunderbird/Makefile.am b/src/plugins/thunderbird/Makefile.am
index 28f2f4f..af86594 100644
--- a/src/plugins/thunderbird/Makefile.am
+++ b/src/plugins/thunderbird/Makefile.am
@@ -11,8 +11,8 @@ extension_DATA = \
 EXTRA_DIST = $(extension_DATA)
 
 install-data-hook:
-	mkdir -p "$(TRACKER_MINER_THUNDERBIRD_INSTALL_DIR)"
-	$(LN_S) "$(extensiondir)" "$(TRACKER_MINER_THUNDERBIRD_INSTALL_DIR)/trackerbird bustany org"
+	mkdir -p "$(DESTDIR)$(TRACKER_MINER_THUNDERBIRD_INSTALL_DIR)"
+	$(LN_S) "$(extensiondir)" "$(DESTDIR)$(TRACKER_MINER_THUNDERBIRD_INSTALL_DIR)/trackerbird bustany org"
 
 uninstall-hook:
-	$(RM) "$(TRACKER_MINER_THUNDERBIRD_INSTALL_DIR)/trackerbird bustany org"
\ No newline at end of file
+	$(RM) "$(DESTDIR)$(TRACKER_MINER_THUNDERBIRD_INSTALL_DIR)/trackerbird bustany org"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]