1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-31 16:02:27 +01:00

Add OS-X binary components. Install binaries add-on on 'make install'.

This commit is contained in:
Kris Maglione
2011-09-23 19:24:56 -04:00
parent 39ceae4f92
commit 0aa21f15c1
4 changed files with 53 additions and 29 deletions

View File

@@ -142,14 +142,20 @@ install:
exit 1; \
fi; \
\
ext="$$profile/extensions/$(UUID)"; \
mkdir -p "$$(dirname "$$ext")"; \
rm -rf "$$ext.xpi" "$$ext"; \
echo "Installing to $$ext"; \
if which cygpath >/dev/null 2>&1; \
then cygpath -wa .; \
else pwd; \
fi >"$$ext"
install() { \
ext="$$profile/extensions/$$2"; \
mkdir -p "$$(dirname "$$ext")"; \
rm -rf "$$ext.xpi" "$$ext"; \
\
echo "Installing $$2 to $$ext"; \
if which cygpath >/dev/null 2>&1; \
then cygpath -wa $$1; \
else (cd $$1; pwd); \
fi >"$$ext"; \
}; \
install . $(UUID); \
install ../binary binary@dactyl.googlecode.com; \
installxpi: xpi
$(HOSTAPP) $(XPI)