-rw-r--r-- | Makefile.am | 5 |
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 | |||
@@ -10,14 +10,17 @@ 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 | 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 | ||
20 | update.rdf: update-template.rdf ${XPI} | ||
21 | sed -e "s/<!--SHA1-->/$$(sha1sum ${XPI}|cut -d\ -f1)/" <$< >$@ | ||
22 | |||
20 | install-data-local: ${xpidir}/chrome.manifest | 23 | install-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 \ |