summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2006-09-26 23:07:35 (UTC)
committer Michael Krelin <hacker@klever.net>2006-09-26 23:07:35 (UTC)
commit22d3c6c4f3f587f45132af6c12860f624a40b340 (patch) (side-by-side diff)
tree97ef9b6c78a5353cb642f18cfb29e7e0d545bf52
parentc5ea6ff7abd6e376ae151c9724d24f6fe156766e (diff)
downloadfireflix-22d3c6c4f3f587f45132af6c12860f624a40b340.zip
fireflix-22d3c6c4f3f587f45132af6c12860f624a40b340.tar.gz
fireflix-22d3c6c4f3f587f45132af6c12860f624a40b340.tar.bz2
possibility to create updateURL-less xpi for addons.mozilla.org
git-svn-id: http://svn.klever.net/kin/fireflix/trunk@161 fe716a7a-6dde-0310-88d9-d003556173a8
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 913b46a..06aeaae 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,24 +2,25 @@ SUBDIRS = content locale
xpi_DATA = \
install.rdf \
AUTHORS COPYING NEWS
EXTRA_DIST = NEWS NEWS.xml NEWS.xsl chrome.manifest
XPI=${PACKAGE}-${VERSION}.xpi
xpi: ${XPI}
${XPI}: install
+ test -z "${NO_UPDATE}" || sed -i -e '/em:updateURL/d' ${xpidir}/install.rdf
cd ${xpichromedir} \
&& ${ZIP} -r -m ${PACKAGE}.jar */
cd ${xpidir} \
&& ${ZIP} -r @abs_builddir@/$@ .
install-data-local: ${xpidir}/chrome.manifest
${xpidir}/chrome.manifest: chrome.manifest Makefile
sed \
-e 's,^content[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)$$,content \1 jar:chrome/${PACKAGE}.jar!/\2,' \
-e 's,^locale[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)$$,locale \1 \2 jar:chrome/${PACKAGE}.jar!/\3,' \
$< >$@