]> err.no Git - eweouz/commitdiff
By default, install eweouz-dump-addressbook to pkglibdir and look for it in common...
authorTollef Fog Heen <tfheen@err.no>
Mon, 14 Jul 2008 20:38:59 +0000 (22:38 +0200)
committerTollef Fog Heen <tfheen@err.no>
Mon, 14 Jul 2008 20:38:59 +0000 (22:38 +0200)
lisp/eweouz.el
src/Makefile.am

index 4d7fbf8dc6c0229a3a2127fe27309faeb25a173f..d387e44166725a43b530ef1e960d58f17460e68a 100644 (file)
 (defconst eweouz-version "0.1")
 (defconst eweouz-buffer-name "*EWEOUZ*")
 
-(defvar eweouz-path "eweouz-dump-addressbook")
+(setq eweouz-helper-dirs '("/usr/lib/eweouz" "/usr/local/lib/eweouz"))
+
+(defvar eweouz-path (locate-file "eweouz-dump-addressbook" 
+                                eweouz-helper-dirs 
+                                nil 
+                                'executable))
 
 (defvar eweouz-buffer nil)
 (defvar eweouz-pop-up-target-lines 5)
index ab0042a1ccf7865087b618ae666ac8478b4e3205..52105d749b7f94b9ff446de8e2dff7d021297ff0 100644 (file)
@@ -1,5 +1,5 @@
 
-bin_PROGRAMS = eweouz-dump-addressbook
+pkglib_PROGRAMS = eweouz-dump-addressbook
 
 noinst_PROGRAMS = write-addressbook