Annotation of annozilla/src/makefile, revision 1.13

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.10      matthew    24:          locale/en-US/annozilla/* \
1.13    ! matthew    25:          locale/fr-FR/annozilla/* \
        !            26:          locale/ja-JP/annozilla/*
1.8       matthew    27: 
1.12      matthew    28: xpi: versioncheck install.js install.rdf chrome/annozilla.jar
                     29:        $(COMPRESS) $(XPI) install.js install.rdf chrome/annozilla.jar
1.1       matthew    30: 
1.13    ! matthew    31: chrome/annozilla.jar: $(HELPFILES) $(SOURCE)
1.11      matthew    32:        $(COMPRESS) chrome/annozilla.jar \
1.13    ! matthew    33:            $(HELPFILES) \
1.11      matthew    34:            `find content/annozilla -name CVS -prune -o -name '*.bak' -o -name Thumbs.db -prune -o -name '.#*' -prune -o -type f -print` \
                     35:            `find locale -name CVS -prune -o -name '*.bak' -prune -o -type f -print`
                     36: 
1.13    ! matthew    37: locale/en-US/annozilla/help/%: ../www/manual/en-US/%
        !            38:        cp $< $@
        !            39: 
1.12      matthew    40: versioncheck:
                     41:        INSTALL_JS=`perl -n -e 'print $$1 if /<em:version>(.*)<\/em:version>/' install.rdf` ;\
                     42:        INSTALL_RDF=`perl -n -e 'print $$1 if /const myProductRegVersion = "(.*)";/' install.js` ;\
                     43:        ABOUT_XUL=`perl -n -e 'print $$1 if /<label id="version" value="(.*)"\/>/' content/annozilla/about/aboutAnnozilla.xul` ;\
                     44:         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    45: 
        !            46: install: xpi
        !            47:        cp $(XPI) 'c:/Documents and Settings/matthew/Application Data/Firefox/Profiles/default/xrh4z19c.slt/extensions/'
        !            48: 

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