source: trunk/athena/lib/firefox-extension/Makefile.in @ 22792

Revision 22792, 1.6 KB checked in by rbasch, 17 years ago (diff)
* athena/lib/firefox-extension/Makefile.in: Restore the setting of libdir (removed in r22776).
Line 
1# $Id: Makefile.in,v 1.1 2006-06-01 16:59:11 rbasch Exp $
2
3SHELL=/bin/sh
4VPATH=@srcdir@
5INSTALL=@INSTALL@
6INSTALL_PROGRAM=@INSTALL_PROGRAM@
7INSTALL_SCRIPT=@INSTALL_SCRIPT@
8INSTALL_DATA=@INSTALL_DATA@
9srcdir=@srcdir@
10top_srcdir=@top_srcdir@
11prefix=@prefix@
12exec_prefix=@exec_prefix@
13libdir=@libdir@
14
15ATHEXTDIR = ${libdir}/debathena-firefox-extension
16CHROMEDIR = ${ATHEXTDIR}/chrome
17COMPONENTS_DIR = ${ATHEXTDIR}/components
18COMPONENTS_FILES = athenaService.js
19DEFAULTS_DIR = ${ATHEXTDIR}/defaults
20PREFS_DIR = ${DEFAULTS_DIR}/preferences
21PREFS_FILES = athena.js
22CHROME_FILES = \
23  content/athena.dtd \
24  content/athena.properties \
25  content/athena.xul \
26  content/mitca.pem \
27  skin/icon.png
28
29all: athena.jar chrome.manifest
30
31athena.jar:
32        cd chrome && rm -f athena.jar && zip -0 -r athena.jar ${CHROME_FILES}
33
34chrome.manifest: chrome.manifest.in
35        sed -e 's|chrome/\([^/]*\)/|jar:chrome/athena.jar!/\1/|' \
36          chrome.manifest.in > chrome.manifest
37
38check:
39
40install:
41        ${top_srcdir}/mkinstalldirs ${DESTDIR}${ATHEXTDIR}
42        ${top_srcdir}/mkinstalldirs ${DESTDIR}${CHROMEDIR}
43        ${top_srcdir}/mkinstalldirs ${DESTDIR}${COMPONENTS_DIR}
44        ${top_srcdir}/mkinstalldirs ${DESTDIR}${PREFS_DIR}
45        ${INSTALL_DATA} chrome/athena.jar ${DESTDIR}${CHROMEDIR}
46        ${INSTALL_DATA} chrome.manifest ${DESTDIR}${ATHEXTDIR}
47        for i in ${COMPONENTS_FILES} ; do \
48          ${INSTALL_DATA} "components/$$i" ${DESTDIR}${COMPONENTS_DIR} ; \
49        done
50        for i in ${PREFS_FILES} ; do \
51          ${INSTALL_DATA} "defaults/preferences/$$i" ${DESTDIR}${PREFS_DIR} ; \
52        done
53        ${INSTALL_DATA} install.rdf ${DESTDIR}${ATHEXTDIR}
54
55clean:
56
57distclean:
58        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.