Annotation of annozilla/src/makefile, revision 1.19

1.13      matthew     1: COMPRESS = perl zip.pl
1.12      matthew     2: XPI = ../downloads/annozilla-latest.xpi
                      3: 
1.9       matthew     4: SOURCE = content/annozilla/* \
                      5:          content/annozilla/about/* \
                      6:          content/annozilla/editor/* \
                      7:          content/annozilla/icons/* \
                      8:          content/annozilla/prefs/* \
                      9:          content/annozilla/prefs/firefox/* \
1.17      matthew    10:          content/annozilla/prefs/firefox/1.5/* \
1.19    ! matthew    11:          content/annozilla/resources/* \
1.17      matthew    12:          skin/annozilla/* \
                     13:          skin/annozilla/icons/* \
1.10      matthew    14:          locale/en-US/annozilla/* \
1.13      matthew    15:          locale/fr-FR/annozilla/* \
                     16:          locale/ja-JP/annozilla/*
1.8       matthew    17: 
1.19    ! matthew    18: xpi: versioncheck install.rdf chrome.manifest chrome/annozilla.jar
        !            19:        $(COMPRESS) $(XPI) install.rdf chrome.manifest chrome/annozilla.jar
1.1       matthew    20: 
1.15      matthew    21: chrome/annozilla.jar: chrome $(SOURCE)
1.11      matthew    22:        $(COMPRESS) chrome/annozilla.jar \
1.17      matthew    23:            `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    24:            `find locale -name CVS -prune -o -name '*.bak' -prune -o -name Thumbs.db -prune -o -type f -print`
1.11      matthew    25: 
1.16      matthew    26: build: xpi
                     27:        BUILD=`perl -n -e 'print $$1 if /<em:version>(.*)<\/em:version>/' install.rdf` ;\
                     28:        mv $(XPI) ../downloads/annozilla-$$BUILD.xpi
                     29: 
1.15      matthew    30: chrome:
                     31:        mkdir chrome
                     32: 
1.13      matthew    33: locale/en-US/annozilla/help/%: ../www/manual/en-US/%
                     34:        cp $< $@
                     35: 
1.12      matthew    36: versioncheck:
1.19    ! matthew    37:        INSTALL_RDF=`perl -n -e 'print $$1 if /<em:version>(.*)<\/em:version>/' install.rdf` ;\
1.12      matthew    38:        ABOUT_XUL=`perl -n -e 'print $$1 if /<label id="version" value="(.*)"\/>/' content/annozilla/about/aboutAnnozilla.xul` ;\
1.19    ! matthew    39:         perl -e "die 'Version incompatibility $$INSTALL_RDF/$$ABOUT_XUL' unless $$INSTALL_RDF eq $$ABOUT_XUL"
1.13      matthew    40: 

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