[Vimperator] [PATCH] fix Makefile for darwin installs
Bart Trojanowski
bart at jukie.net
Sat Apr 28 09:13:37 PDT 2007
This patch is untested as I don't have a mac, but hopefully fixes 'make
install' on Darwin.
---
src/Makefile | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/Makefile b/src/Makefile
index ddf8066..92091e4 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -14,7 +14,13 @@ ZIP = zip
# find the vimperator chrome dir
+OS=$(shell uname -s)
+ifeq (${OS},Darwin)
+FIREFOX_DEFAULT = $(wildcard ${HOME}/Library/Application\ Support/Firefox/Profiles/*default)
+else
FIREFOX_DEFAULT = $(wildcard ${HOME}/.mozilla/firefox/*.default)
+endif
+
VIMPERATOR_CHROME_EMAIL = ${FIREFOX_DEFAULT}/extensions/vimperator at mozdev.org/chrome/
FOUND_CHROME_UUID = $(dir $(wildcard ${FIREFOX_DEFAULT}/extensions/{*-*-*-*-*}/chrome/vimperator.jar))
FOUND_CHROME_EMAIL = $(dir $(wildcard ${VIMPERATOR_CHROME_EMAIL}))
--
1.5.2.rc0.56.g6169a
More information about the Vimperator
mailing list