cvsimport
[beagle.git] / mozilla-extension / Makefile.am
blob318aded91930c2074296b696a8d1052b93594b15
2 PROJECT = beagle
3 VERSION = 0.1
5 all: $(PROJECT).xpi
7 INNER_JAR_FILES =                       \
8         content/contents.rdf            \
9         content/about.xul               \
10         content/beagleOverlay.css       \
11         content/beagleOverlay.js        \
12         content/beagleOverlay.xul       \
13         content/beaglePrefs.js          \
14         content/beaglePrefs.xul         \
15         content/beagleAddDomainDialog.xul       \
16         content/md5.js                  \
17         \
18         content/jslib/jslib.js          \
19         content/jslib/modules.js        \
20         content/jslib/debug/debug.js    \
21         content/jslib/io/dir.js         \
22         content/jslib/io/dirUtils.js    \
23         content/jslib/io/file.js        \
24         content/jslib/io/fileUtils.js   \
25         content/jslib/io/filesystem.js  \
26         \
27         locale/en-US/contents.rdf       \
28         locale/en-US/beagle.dtd         \
29         locale/en-US/beagle.properties  \
30         \
31         skin/classic/contents.rdf       \
32         skin/classic/beagle-big.png     \
33         skin/classic/beagle-disabled.png\
34         skin/classic/beagle-error.png   \
35         skin/classic/beagle.png
37 OUTER_XPI_FILES =               \
38         chrome.manifest         \
39         install.rdf             \
40         chrome/$(PROJECT).jar
42 chrome/$(PROJECT).jar: $(INNER_JAR_FILES)
43         -@mkdir -p chrome
44         zip -q9 $@ $^
46 $(PROJECT).xpi: $(OUTER_XPI_FILES)
47         zip -q9 $@ $^
50 EXTRA_DIST =                    \
51         $(INNER_JAR_FILES)      \
52         $(OUTER_XPI_FILES)
54 CLEANFILES =                    \
55         chrome/$(PROJECT).jar   \
56         $(PROJECT).xpi