~vcs-imports/beagle/trunk

« back to all changes in this revision

Viewing changes to tools/Makefile.am

  • Committer: dbera
  • Date: 2008-07-08 23:52:06 UTC
  • Revision ID: vcs-imports@canonical.com-20080708235206-1axm3o8wmkjxawcq
Add a python script (from CCSM) to grab shortcut keys from user input. Use the script in beagle-settings to get the shortcut key for beagle-search. Store the entire binding string in config instead of separately storing ctrl, alt and the key. Note that CCSM is GPLv2+ so we are including the script as GPLv3. It is possible to create a C# program to do what the script does but I am not taking the risk yet.

Show diffs side-by-side

added added

removed removed

Lines of Context:
170
170
        $(STATIC_QUERY_WRAPPER)         \
171
171
        $(CONFIG_WRAPPER)
172
172
 
 
173
KEYGRABBER =
 
174
 
173
175
if ENABLE_GUI
174
176
BUILT_WRAPPERS += $(SETTINGS_WRAPPER)
 
177
KEYGRABBER += $(srcdir)/keygrabber.py
175
178
endif
176
179
 
177
180
if ENABLE_WV1
234
237
 
235
238
        $(mkinstalldirs) $(DESTDIR)$(crondir)
236
239
        $(INSTALL_SCRIPT) $(CRAWL_WRAPPER) $(DESTDIR)$(crondir)
 
240
if ENABLE_GUI
 
241
        $(INSTALL_DATA) $(KEYGRABBER) $(DESTDIR)$(pkglibdir)
 
242
endif
237
243
 
238
244
uninstall-local:
239
245
        cd $(DESTDIR)$(pkglibdir) && rm -f $(TARGETS) && rm -f $(TARGETS_MDB)
244
250
        done
245
251
 
246
252
        cd $(DESTDIR)$(crondir) && rm -f $(CRAWL_WRAPPER)
 
253
if ENABLE_GUI
 
254
        cd $(DESTDIR)$(pkglibdir) && rm -f $(KEYGRABBER)
 
255
endif
247
256
 
248
257
EXTRA_DIST =                            \
249
258
        $(WRAPPER_IN)                   \
263
272
        $(QT_SETTINGS_CSFILES)          \
264
273
        $(QT_SETTINGS_UIFILE)           \
265
274
        $(QT_SETTINGS_ICON)             \
266
 
        beagle-index-info               \
267
 
        beagle-ping                     \
268
 
        beagle-status                   \
269
 
        blocate                         \
 
275
        $(KEYGRABBER)                   \
270
276
        boot.inotify.init               \
271
277
        beagle-settings.desktop.in.in
272
278