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) (unidiff)
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 @@
1SUBDIRS = content locale
2
3xpi_DATA = \
4 install.rdf \
5 AUTHORS COPYING NEWS
6
7EXTRA_DIST = NEWS NEWS.xml NEWS.xsl chrome.manifest
8
9XPI=${PACKAGE}-${VERSION}.xpi
10
11xpi: ${XPI}
12
13${XPI}: install
14 cd ${xpichromedir} \
15 && ${ZIP} -r -m ${PACKAGE}.jar */
16 cd ${xpidir} \
17 && ${ZIP} -r @abs_builddir@/$@ .
18
19install-data-local: ${xpidir}/chrome.manifest
20
21${xpidir}/chrome.manifest: chrome.manifest Makefile
22 sed \
23 -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 $< >$@
26
27clean-local:
28 rm -rf ${xpidir} ${XPI}
29
30all-local: NEWS
31
32NEWS: NEWS.xsl NEWS.xml
33 ${XSLTPROC} -o $@ NEWS.xsl NEWS.xml
34
35mozextptr: ${MOZ_EXT_ID}
36${MOZ_EXT_ID}:
37 echo @abs_srcdir@ >$@