Annotation of annozilla/src/makefile, revision 1.18

1.13      matthew     1: COMPRESS = perl zip.pl
1.12      matthew     2: XPI = ../downloads/annozilla-latest.xpi
                      3: 
1.13      matthew     4: HELPFILES = locale/en-US/annozilla/help/creating.xhtml \
                      5:             locale/en-US/annozilla/help/editing.xhtml \
                      6:             locale/en-US/annozilla/help/firefox-editor.png \
                      7:             locale/en-US/annozilla/help/general.xhtml \
                      8:             locale/en-US/annozilla/help/help.css \
                      9:             locale/en-US/annozilla/help/index.xhtml \
                     10:             locale/en-US/annozilla/help/languages.xhtml \
                     11:             locale/en-US/annozilla/help/loading.xhtml \
                     12:             locale/en-US/annozilla/help/preferences.xhtml \
                     13:             locale/en-US/annozilla/help/product-firefox.png \
                     14:             locale/en-US/annozilla/help/product-mozilla.png \
                     15:             locale/en-US/annozilla/help/servers.xhtml \
                     16:             locale/en-US/annozilla/help/viewing.xhtml
                     17: 
1.9       matthew    18: SOURCE = content/annozilla/* \
                     19:          content/annozilla/about/* \
                     20:          content/annozilla/editor/* \
                     21:          content/annozilla/icons/* \
                     22:          content/annozilla/prefs/* \
                     23:          content/annozilla/prefs/firefox/* \
1.17      matthew    24:          content/annozilla/prefs/firefox/1.5/* \
                     25:          skin/annozilla/* \
                     26:          skin/annozilla/icons/* \
1.10      matthew    27:          locale/en-US/annozilla/* \
1.13      matthew    28:          locale/fr-FR/annozilla/* \
                     29:          locale/ja-JP/annozilla/*
1.8       matthew    30: 
1.18    ! matthew    31: xpi: versioncheck install.js install.rdf chrome.manifest chrome/annozilla.jar
        !            32:        $(COMPRESS) $(XPI) install.js install.rdf chrome.manifest chrome/annozilla.jar
1.1       matthew    33: 
1.15      matthew    34: chrome/annozilla.jar: chrome $(SOURCE)
1.11      matthew    35:        $(COMPRESS) chrome/annozilla.jar \
1.17      matthew    36:            `find content/annozilla skin -name CVS -prune -o -name '*.bak' -o -name Thumbs.db -prune -o -name '.#*' -prune -o -name '*.swp' -prune -o -type f -print` \
1.14      matthew    37:            `find locale -name CVS -prune -o -name '*.bak' -prune -o -name Thumbs.db -prune -o -type f -print`
1.11      matthew    38: 
1.16      matthew    39: build: xpi
                     40:        BUILD=`perl -n -e 'print $$1 if /<em:version>(.*)<\/em:version>/' install.rdf` ;\
                     41:        mv $(XPI) ../downloads/annozilla-$$BUILD.xpi
                     42: 
1.15      matthew    43: chrome:
                     44:        mkdir chrome
                     45: 
1.13      matthew    46: locale/en-US/annozilla/help/%: ../www/manual/en-US/%
                     47:        cp $< $@
                     48: 
1.12      matthew    49: versioncheck:
                     50:        INSTALL_JS=`perl -n -e 'print $$1 if /<em:version>(.*)<\/em:version>/' install.rdf` ;\
                     51:        INSTALL_RDF=`perl -n -e 'print $$1 if /const myProductRegVersion = "(.*)";/' install.js` ;\
                     52:        ABOUT_XUL=`perl -n -e 'print $$1 if /<label id="version" value="(.*)"\/>/' content/annozilla/about/aboutAnnozilla.xul` ;\
                     53:         perl -e "die 'Version incompatibility $$INSTALL_JS/$$INSTALL_RDF/$$ABOUT_XUL' unless $$INSTALL_JS eq $$INSTALL_RDF and $$INSTALL_JS eq $$ABOUT_XUL"
1.13      matthew    54: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>