annotate Makefile @ 4:8aa443d1e395 default tip

revised Makefile
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Tue, 02 Dec 2008 20:55:06 +0900
parents bbeace809d92
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
bbeace809d92 added Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
1 app=nightly_tester_tools
4
8aa443d1e395 revised Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 3
diff changeset
2 vers=_2_0_2_yaz
3
bbeace809d92 added Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
3 jarname=nightly
4
8aa443d1e395 revised Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 3
diff changeset
4 subdirs=components defaults modules
8aa443d1e395 revised Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 3
diff changeset
5 miscfiles=install.rdf chrome.manifest LICENSE
3
bbeace809d92 added Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
6
bbeace809d92 added Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
7 all:
bbeace809d92 added Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
8 cd chrome; zip -r $(jarname).jar content locale skin
4
8aa443d1e395 revised Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 3
diff changeset
9 zip -r $(app)$(vers).xpi chrome/$(jarname).jar $(subdirs) $(miscfiles)
3
bbeace809d92 added Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
10
bbeace809d92 added Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
11 clean:
bbeace809d92 added Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
12 rm -f $(app)$(vers).xpi
bbeace809d92 added Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
13 rm -f chrome/$(jarname).jar
bbeace809d92 added Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
14
bbeace809d92 added Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
15 mostlyclean: clean
bbeace809d92 added Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
16 find . -name "*~" -exec rm {} ';'
bbeace809d92 added Makefile
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
17 find . -name "#*#" -exec rm {} ';'