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

Revision 24964, 1.6 KB checked in by achernya, 14 years ago (diff)
Package the CSAIL CA (Trac: #740).
RevLine 
[22497]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@
[22792]13libdir=@libdir@
[22497]14
[22781]15ATHEXTDIR = ${libdir}/debathena-firefox-extension
[22497]16CHROMEDIR = ${ATHEXTDIR}/chrome
17COMPONENTS_DIR = ${ATHEXTDIR}/components
18COMPONENTS_FILES = athenaService.js
19DEFAULTS_DIR = ${ATHEXTDIR}/defaults
20PREFS_DIR = ${DEFAULTS_DIR}/preferences
21PREFS_FILES = athena.js
[22777]22CHROME_FILES = \
23  content/athena.dtd \
24  content/athena.properties \
25  content/athena.xul \
26  content/mitca.pem \
[24964]27  content/csailca.pem \
[22777]28  skin/icon.png
[22497]29
30all: athena.jar chrome.manifest
31
32athena.jar:
[22777]33        cd chrome && rm -f athena.jar && zip -0 -r athena.jar ${CHROME_FILES}
[22497]34
35chrome.manifest: chrome.manifest.in
36        sed -e 's|chrome/\([^/]*\)/|jar:chrome/athena.jar!/\1/|' \
37          chrome.manifest.in > chrome.manifest
38
39check:
40
41install:
42        ${top_srcdir}/mkinstalldirs ${DESTDIR}${ATHEXTDIR}
43        ${top_srcdir}/mkinstalldirs ${DESTDIR}${CHROMEDIR}
44        ${top_srcdir}/mkinstalldirs ${DESTDIR}${COMPONENTS_DIR}
45        ${top_srcdir}/mkinstalldirs ${DESTDIR}${PREFS_DIR}
46        ${INSTALL_DATA} chrome/athena.jar ${DESTDIR}${CHROMEDIR}
47        ${INSTALL_DATA} chrome.manifest ${DESTDIR}${ATHEXTDIR}
48        for i in ${COMPONENTS_FILES} ; do \
49          ${INSTALL_DATA} "components/$$i" ${DESTDIR}${COMPONENTS_DIR} ; \
50        done
51        for i in ${PREFS_FILES} ; do \
52          ${INSTALL_DATA} "defaults/preferences/$$i" ${DESTDIR}${PREFS_DIR} ; \
53        done
54        ${INSTALL_DATA} install.rdf ${DESTDIR}${ATHEXTDIR}
55
56clean:
57
58distclean:
59        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.