Merge lp:~thekorn/zeitgeist-datasources/tomboy-local-target into lp:~manishsinha/zeitgeist-datasources/fix-tomboy-mimetype-mono-dependency

Proposed by Markus Korn
Status: Merged
Merged at revision: 104
Proposed branch: lp:~thekorn/zeitgeist-datasources/tomboy-local-target
Merge into: lp:~manishsinha/zeitgeist-datasources/fix-tomboy-mimetype-mono-dependency
Diff against target: 20 lines (+13/-0)
1 file modified
tomboy/Makefile.am (+13/-0)
To merge this branch: bzr merge lp:~thekorn/zeitgeist-datasources/tomboy-local-target
Reviewer Review Type Date Requested Status
Manish Sinha (मनीष सिन्हा) install uninstall Approve
Review via email: mp+40743@code.launchpad.net

Description of the change

added 'local-install' and 'local-uninstall' target to the tomboy addin

To post a comment you must log in.
Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) wrote :

Works like charm. Perfect!

review: Approve (install uninstall)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tomboy/Makefile.am'
2--- tomboy/Makefile.am 2010-11-09 15:02:48 +0000
3+++ tomboy/Makefile.am 2010-11-12 17:12:03 +0000
4@@ -33,3 +33,16 @@
5 DISTCLEANFILES = \
6 $(TARGET) \
7 $(TARGET).mdb
8+
9+TOMBOY_ADDIN_HOME_DIR = ~/.config/tomboy/addins
10+
11+local-install: $(addins_DATA)
12+ mkdir -p $(TOMBOY_ADDIN_HOME_DIR)
13+ cp $(addins_DATA) $(TOMBOY_ADDIN_HOME_DIR)
14+
15+local-uninstall:
16+ for f in $(addins_DATA); \
17+ do \
18+ echo remove $$f; \
19+ rm -f $(TOMBOY_ADDIN_HOME_DIR)/$$f; \
20+ done

Subscribers

People subscribed via source and target branches