From 67d1afa3006aa8b9956fa955322ace45a8f8e56e Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sat, 28 Jun 2008 20:32:41 +0000 Subject: provisions for signing Signed-off-by: Michael Krelin --- (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 06aeaae..a3236ce 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,12 +11,15 @@ XPI=${PACKAGE}-${VERSION}.xpi xpi: ${XPI} ${XPI}: install - test -z "${NO_UPDATE}" || sed -i -e '/em:updateURL/d' ${xpidir}/install.rdf + test -z "${NO_UPDATE}" || sed -i -e '/em:update\(URL\|Key\)/d' ${xpidir}/install.rdf cd ${xpichromedir} \ && ${ZIP} -r -m ${PACKAGE}.jar */ cd ${xpidir} \ && ${ZIP} -r @abs_builddir@/$@ . +update.rdf: update-template.rdf ${XPI} + sed -e "s//$$(sha1sum ${XPI}|cut -d\ -f1)/" <$< >$@ + install-data-local: ${xpidir}/chrome.manifest ${xpidir}/chrome.manifest: chrome.manifest Makefile -- cgit v0.9.0.2