summaryrefslogtreecommitdiffabout
Unidiff
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
@@ -1,37 +1,38 @@
1SUBDIRS = content locale 1SUBDIRS = content locale
2 2
3xpi_DATA = \ 3xpi_DATA = \
4 install.rdf \ 4 install.rdf \
5 AUTHORS COPYING NEWS 5 AUTHORS COPYING NEWS
6 6
7EXTRA_DIST = NEWS NEWS.xml NEWS.xsl chrome.manifest 7EXTRA_DIST = NEWS NEWS.xml NEWS.xsl chrome.manifest
8 8
9XPI=${PACKAGE}-${VERSION}.xpi 9XPI=${PACKAGE}-${VERSION}.xpi
10 10
11xpi: ${XPI} 11xpi: ${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
19install-data-local: ${xpidir}/chrome.manifest 20install-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
27clean-local: 28clean-local:
28 rm -rf ${xpidir} ${XPI} 29 rm -rf ${xpidir} ${XPI}
29 30
30all-local: NEWS 31all-local: NEWS
31 32
32NEWS: NEWS.xsl NEWS.xml 33NEWS: NEWS.xsl NEWS.xml
33 ${XSLTPROC} -o $@ NEWS.xsl NEWS.xml 34 ${XSLTPROC} -o $@ NEWS.xsl NEWS.xml
34 35
35mozextptr: ${MOZ_EXT_ID} 36mozextptr: ${MOZ_EXT_ID}
36${MOZ_EXT_ID}: 37${MOZ_EXT_ID}:
37 echo @abs_srcdir@ >$@ 38 echo @abs_srcdir@ >$@