author | Michael Krelin <hacker@klever.net> | 2006-09-26 23:07:35 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2006-09-26 23:07:35 (UTC) |
commit | 22d3c6c4f3f587f45132af6c12860f624a40b340 (patch) (unidiff) | |
tree | 97ef9b6c78a5353cb642f18cfb29e7e0d545bf52 | |
parent | c5ea6ff7abd6e376ae151c9724d24f6fe156766e (diff) | |
download | fireflix-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
-rw-r--r-- | Makefile.am | 1 |
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 | |||
@@ -1,37 +1,38 @@ | |||
1 | SUBDIRS = content locale | 1 | SUBDIRS = content locale |
2 | 2 | ||
3 | xpi_DATA = \ | 3 | xpi_DATA = \ |
4 | install.rdf \ | 4 | install.rdf \ |
5 | AUTHORS COPYING NEWS | 5 | AUTHORS COPYING NEWS |
6 | 6 | ||
7 | EXTRA_DIST = NEWS NEWS.xml NEWS.xsl chrome.manifest | 7 | EXTRA_DIST = NEWS NEWS.xml NEWS.xsl chrome.manifest |
8 | 8 | ||
9 | XPI=${PACKAGE}-${VERSION}.xpi | 9 | XPI=${PACKAGE}-${VERSION}.xpi |
10 | 10 | ||
11 | xpi: ${XPI} | 11 | xpi: ${XPI} |
12 | 12 | ||
13 | ${XPI}: install | 13 | ${XPI}: install |
14 | test -z "${NO_UPDATE}" || sed -i -e '/em:updateURL/d' ${xpidir}/install.rdf | ||
14 | cd ${xpichromedir} \ | 15 | cd ${xpichromedir} \ |
15 | && ${ZIP} -r -m ${PACKAGE}.jar */ | 16 | && ${ZIP} -r -m ${PACKAGE}.jar */ |
16 | cd ${xpidir} \ | 17 | cd ${xpidir} \ |
17 | && ${ZIP} -r @abs_builddir@/$@ . | 18 | && ${ZIP} -r @abs_builddir@/$@ . |
18 | 19 | ||
19 | install-data-local: ${xpidir}/chrome.manifest | 20 | install-data-local: ${xpidir}/chrome.manifest |
20 | 21 | ||
21 | ${xpidir}/chrome.manifest: chrome.manifest Makefile | 22 | ${xpidir}/chrome.manifest: chrome.manifest Makefile |
22 | sed \ | 23 | sed \ |
23 | -e 's,^content[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)$$,content \1 jar:chrome/${PACKAGE}.jar!/\2,' \ | 24 | -e 's,^content[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)$$,content \1 jar:chrome/${PACKAGE}.jar!/\2,' \ |
24 | -e 's,^locale[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)$$,locale \1 \2 jar:chrome/${PACKAGE}.jar!/\3,' \ | 25 | -e 's,^locale[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)$$,locale \1 \2 jar:chrome/${PACKAGE}.jar!/\3,' \ |
25 | $< >$@ | 26 | $< >$@ |
26 | 27 | ||
27 | clean-local: | 28 | clean-local: |
28 | rm -rf ${xpidir} ${XPI} | 29 | rm -rf ${xpidir} ${XPI} |
29 | 30 | ||
30 | all-local: NEWS | 31 | all-local: NEWS |
31 | 32 | ||
32 | NEWS: NEWS.xsl NEWS.xml | 33 | NEWS: NEWS.xsl NEWS.xml |
33 | ${XSLTPROC} -o $@ NEWS.xsl NEWS.xml | 34 | ${XSLTPROC} -o $@ NEWS.xsl NEWS.xml |
34 | 35 | ||
35 | mozextptr: ${MOZ_EXT_ID} | 36 | mozextptr: ${MOZ_EXT_ID} |
36 | ${MOZ_EXT_ID}: | 37 | ${MOZ_EXT_ID}: |
37 | echo @abs_srcdir@ >$@ | 38 | echo @abs_srcdir@ >$@ |