[22497] | 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@ |
---|
[22792] | 13 | libdir=@libdir@ |
---|
[22497] | 14 | |
---|
[22781] | 15 | ATHEXTDIR = ${libdir}/debathena-firefox-extension |
---|
[22497] | 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 |
---|
[22777] | 22 | CHROME_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 | |
---|
| 30 | all: athena.jar chrome.manifest |
---|
| 31 | |
---|
| 32 | athena.jar: |
---|
[22777] | 33 | cd chrome && rm -f athena.jar && zip -0 -r athena.jar ${CHROME_FILES} |
---|
[22497] | 34 | |
---|
| 35 | chrome.manifest: chrome.manifest.in |
---|
| 36 | sed -e 's|chrome/\([^/]*\)/|jar:chrome/athena.jar!/\1/|' \ |
---|
| 37 | chrome.manifest.in > chrome.manifest |
---|
| 38 | |
---|
| 39 | check: |
---|
| 40 | |
---|
| 41 | install: |
---|
| 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 | |
---|
| 56 | clean: |
---|
| 57 | |
---|
| 58 | distclean: |
---|
| 59 | rm -f config.cache config.log config.status Makefile |
---|