/[suikacvs]/www/mozilla/livehttpheaders/Makefile
Suika

Contents of /www/mozilla/livehttpheaders/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Mon Dec 22 10:59:10 2003 UTC (21 years, 6 months ago) by wakaba
Branch: MAIN
CVS Tags: release-1-3
Changes since 1.3: +9 -4 lines
.cvsignore: New

1 w 1.1 EXCLUDED_FILES = \
2     *.BAK *~ */*.BAK */*~ */*/*.BAK */*/*~ */*/*/*.BAK */*/*/*~ \
3     CVS/ CVS/* */CVS/ */CVS/* */*/CVS/ */*/CVS/* */*/*/CVS/ */*/*/CVS/* \
4 wakaba 1.4 CVS/.* */CVS/.* */*/CVS/.* */*/*/CVS/.* */*/*/*/CVS/.* \
5     */*/*/*/*/CVS/.* \
6     ChangeLog Makefile \
7     .cvsignore */.cvsignore */*/.cvsignore */*/*/.cvsignore \
8     */*/*/*/.cvsignore */*/*/*/*/.cvsignore \
9     *.src *.in \
10     *.jarsrc/ *.jarsrc/* *.jarsrc/*/ *.jarsrc/*/* *.jarsrc/*/*/ \
11     *.jarsrc/*/*/* *.jarsrc/*/*/*/ *.jarsrc/*/*/*/* *.jarsrc/*/*/*/*/ \
12     *.jarsrc/*/*/*/*/* *.jarsrc/*/*/*/*/*/ *.jarsrc/*/*/*/*/*/* \
13 wakaba 1.2 release/ release/* \
14 w 1.1 *.xpi
15     REPPL_DIR = ../tool/
16     REPPL_SRC = ./package-info.src
17     REPPL_SCRIPT = $(REPPL_DIR)replace.pl
18     REPPL = perl $(REPPL_SCRIPT) $(REPPL_SRC)
19    
20     GENERATED_FILES = ./*.xpi ./*.jar install.js install-res.en.inf
21     ORIGINAL_PACKAGE_BASENAME = livehttpheaders
22     PACKAGE_BASENAME = $(ORIGINAL_PACKAGE_BASENAME)-ja
23    
24     all: $(PACKAGE_BASENAME).xpi
25    
26     dummy:
27    
28     %.jar: %.jarsrc dummy
29     cd $< && zip -r $@ * -x $(EXCLUDED_FILES)
30     mv $</$@ $@
31    
32     %.jarsrc: dummy
33     cd $@/locale/ja-JP/$(ORIGINAL_PACKAGE_BASENAME) && make all
34    
35     %.xpi: %.jar install.js install-res.en.inf
36     -rm $@
37     zip -r $@ * -x $(EXCLUDED_FILES)
38    
39     install.js: $(REPPL_DIR)install.js.in $(REPPL_SRC) $(REPPL_SCRIPT)
40     $(REPPL) --output-type=js --input=$< > $@
41    
42     install-res.en.inf: $(REPPL_DIR)install-res.en.inf.in
43     $(REPPL) --output-type=moz-properties --input=$< > $@
44    
45     clean:
46     -rm -v $(GENERATED_FILES)
47     -rm -v ./*~ ./.*~ ./*.BAK ./.*.BAK
48 wakaba 1.3 cd $(PACKAGE_BASENAME).jarsrc/locale/ja-JP/$(ORIGINAL_PACKAGE_BASENAME) && make clean
49    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24