1 | # $Id: Makefile.in,v 1.1 2006-06-01 16:59:11 rbasch Exp $ |
---|
2 | |
---|
3 | SHELL=/bin/sh |
---|
4 | VPATH=@srcdir@ |
---|
5 | INSTALL=@INSTALL@ |
---|
6 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
7 | INSTALL_SCRIPT=@INSTALL_SCRIPT@ |
---|
8 | INSTALL_DATA=@INSTALL_DATA@ |
---|
9 | srcdir=@srcdir@ |
---|
10 | top_srcdir=@top_srcdir@ |
---|
11 | prefix=@prefix@ |
---|
12 | exec_prefix=@exec_prefix@ |
---|
13 | libdir=@libdir@ |
---|
14 | |
---|
15 | ATHEXTDIR = ${libdir}/debathena-firefox-extension |
---|
16 | CHROMEDIR = ${ATHEXTDIR}/chrome |
---|
17 | COMPONENTS_DIR = ${ATHEXTDIR}/components |
---|
18 | COMPONENTS_FILES = athenaService.js |
---|
19 | DEFAULTS_DIR = ${ATHEXTDIR}/defaults |
---|
20 | PREFS_DIR = ${DEFAULTS_DIR}/preferences |
---|
21 | PREFS_FILES = athena.js |
---|
22 | CHROME_FILES = \ |
---|
23 | content/athena.dtd \ |
---|
24 | content/athena.properties \ |
---|
25 | content/athena.xul \ |
---|
26 | content/mitca.pem \ |
---|
27 | skin/icon.png |
---|
28 | |
---|
29 | all: athena.jar chrome.manifest |
---|
30 | |
---|
31 | athena.jar: |
---|
32 | cd chrome && rm -f athena.jar && zip -0 -r athena.jar ${CHROME_FILES} |
---|
33 | |
---|
34 | chrome.manifest: chrome.manifest.in |
---|
35 | sed -e 's|chrome/\([^/]*\)/|jar:chrome/athena.jar!/\1/|' \ |
---|
36 | chrome.manifest.in > chrome.manifest |
---|
37 | |
---|
38 | check: |
---|
39 | |
---|
40 | install: |
---|
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 | |
---|
55 | clean: |
---|
56 | |
---|
57 | distclean: |
---|
58 | rm -f config.cache config.log config.status Makefile |
---|