summaryrefslogtreecommitdiffabout
path: root/Makefile.am
authorMichael Krelin <hacker@klever.net>2006-09-26 19:21:57 (UTC)
committer Michael Krelin <hacker@klever.net>2006-09-26 19:21:57 (UTC)
commitc5ea6ff7abd6e376ae151c9724d24f6fe156766e (patch) (side-by-side diff)
tree0df2e4ecf02f89c4b85d1950b5c6f4fd2f67f9bd /Makefile.am
parent5207247fdc837ae9de1d81db903f6cd92532595e (diff)
downloadfireflix-c5ea6ff7abd6e376ae151c9724d24f6fe156766e.zip
fireflix-c5ea6ff7abd6e376ae151c9724d24f6fe156766e.tar.gz
fireflix-c5ea6ff7abd6e376ae151c9724d24f6fe156766e.tar.bz2
Initial import into public repository0.0
git-svn-id: http://svn.klever.net/kin/fireflix/trunk@159 fe716a7a-6dde-0310-88d9-d003556173a8
Diffstat (limited to 'Makefile.am') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.am37
1 files changed, 37 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..913b46a
--- a/dev/null
+++ b/Makefile.am
@@ -0,0 +1,37 @@
+SUBDIRS = content locale
+
+xpi_DATA = \
+ install.rdf \
+ AUTHORS COPYING NEWS
+
+EXTRA_DIST = NEWS NEWS.xml NEWS.xsl chrome.manifest
+
+XPI=${PACKAGE}-${VERSION}.xpi
+
+xpi: ${XPI}
+
+${XPI}: install
+ cd ${xpichromedir} \
+ && ${ZIP} -r -m ${PACKAGE}.jar */
+ cd ${xpidir} \
+ && ${ZIP} -r @abs_builddir@/$@ .
+
+install-data-local: ${xpidir}/chrome.manifest
+
+${xpidir}/chrome.manifest: chrome.manifest Makefile
+ sed \
+ -e 's,^content[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)$$,content \1 jar:chrome/${PACKAGE}.jar!/\2,' \
+ -e 's,^locale[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+\([^[:space:]]\+\)$$,locale \1 \2 jar:chrome/${PACKAGE}.jar!/\3,' \
+ $< >$@
+
+clean-local:
+ rm -rf ${xpidir} ${XPI}
+
+all-local: NEWS
+
+NEWS: NEWS.xsl NEWS.xml
+ ${XSLTPROC} -o $@ NEWS.xsl NEWS.xml
+
+mozextptr: ${MOZ_EXT_ID}
+${MOZ_EXT_ID}:
+ echo @abs_srcdir@ >$@