summaryrefslogtreecommitdiffabout
path: root/Makefile.am
authorMichael Krelin <hacker@klever.net>2008-06-28 20:32:41 (UTC)
committer Michael Krelin <hacker@klever.net>2008-06-28 20:32:41 (UTC)
commit67d1afa3006aa8b9956fa955322ace45a8f8e56e (patch) (unidiff)
treeaca587148f6500033109e203842342bea09957a4 /Makefile.am
parent2006dedac467448e2f58964244d26d0c22129a83 (diff)
downloadfireflix-67d1afa3006aa8b9956fa955322ace45a8f8e56e.zip
fireflix-67d1afa3006aa8b9956fa955322ace45a8f8e56e.tar.gz
fireflix-67d1afa3006aa8b9956fa955322ace45a8f8e56e.tar.bz2
provisions for signing
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'Makefile.am') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 06aeaae..a3236ce 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,38 +1,41 @@
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 test -z "${NO_UPDATE}" || sed -i -e '/em:update\(URL\|Key\)/d' ${xpidir}/install.rdf
15 cd ${xpichromedir} \ 15 cd ${xpichromedir} \
16 && ${ZIP} -r -m ${PACKAGE}.jar */ 16 && ${ZIP} -r -m ${PACKAGE}.jar */
17 cd ${xpidir} \ 17 cd ${xpidir} \
18 && ${ZIP} -r @abs_builddir@/$@ . 18 && ${ZIP} -r @abs_builddir@/$@ .
19 19
20update.rdf: update-template.rdf ${XPI}
21 sed -e "s/<!--SHA1-->/$$(sha1sum ${XPI}|cut -d\ -f1)/" <$< >$@
22
20install-data-local: ${xpidir}/chrome.manifest 23install-data-local: ${xpidir}/chrome.manifest
21 24
22${xpidir}/chrome.manifest: chrome.manifest Makefile 25${xpidir}/chrome.manifest: chrome.manifest Makefile
23 sed \ 26 sed \
24 -e 's,^content[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)$$,content \1 jar:chrome/${PACKAGE}.jar!/\2,' \ 27 -e 's,^content[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)$$,content \1 jar:chrome/${PACKAGE}.jar!/\2,' \
25 -e 's,^locale[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)$$,locale \1 \2 jar:chrome/${PACKAGE}.jar!/\3,' \ 28 -e 's,^locale[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)$$,locale \1 \2 jar:chrome/${PACKAGE}.jar!/\3,' \
26 $< >$@ 29 $< >$@
27 30
28clean-local: 31clean-local:
29 rm -rf ${xpidir} ${XPI} 32 rm -rf ${xpidir} ${XPI}
30 33
31all-local: NEWS 34all-local: NEWS
32 35
33NEWS: NEWS.xsl NEWS.xml 36NEWS: NEWS.xsl NEWS.xml
34 ${XSLTPROC} -o $@ NEWS.xsl NEWS.xml 37 ${XSLTPROC} -o $@ NEWS.xsl NEWS.xml
35 38
36mozextptr: ${MOZ_EXT_ID} 39mozextptr: ${MOZ_EXT_ID}
37${MOZ_EXT_ID}: 40${MOZ_EXT_ID}:
38 echo @abs_srcdir@ >$@ 41 echo @abs_srcdir@ >$@