summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Stubenschrott <stubenschrott@gmx.net>2007-04-25 17:11:52 +0000
committerMartin Stubenschrott <stubenschrott@gmx.net>2007-04-25 17:11:52 +0000
commit57094b927a20e1850666a068c67c5ef06a48a5e3 (patch)
tree53aaad62cf70981b9d042e108d1c9385a1a53360 /Makefile
parent5e8eb60362b62e1802a732cc926795a943623d19 (diff)
downloadpentadactyl-57094b927a20e1850666a068c67c5ef06a48a5e3.tar.gz
Makefile changes for missing chrome/ dir
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8089e761..de747cb9 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ ZIP = zip
# find the vimperator chrome dir
FIREFOX_DEFAULT = $(wildcard ${HOME}/.mozilla/firefox/*.default)
-VIMPERATOR_CHROME = $(wildcard ${FIREFOX_DEFAULT}/extensions/vimperator@mozdev.org/chrome/)
+VIMPERATOR_CHROME = ${FIREFOX_DEFAULT}/extensions/vimperator@mozdev.org/chrome/
# specify V=1 on make line to see more verbose output
Q=$(if ${V},,@)
@@ -48,6 +48,8 @@ info:
@echo "vimperator chrome ${VIMPERATOR_CHROME}"
needs_chrome_dir:
+ @echo "Checking chrome dir..."
+ -${Q}mkdir -p "${VIMPERATOR_CHROME}"
${Q}test -d "${VIMPERATOR_CHROME}"
xpi: ${RELEASE}