Diff for /annozilla/src/makefile between versions 1.8 and 1.19

version 1.8, 2005/03/26 11:06:28 version 1.19, 2008/08/29 19:41:34
Line 1 Line 1
 SOURCE = content/annozilla/* locale/en-US/annozilla/*  
   
 COMPRESS = perl zip.pl  COMPRESS = perl zip.pl
   XPI = ../downloads/annozilla-latest.xpi
   
   SOURCE = content/annozilla/* \
            content/annozilla/about/* \
            content/annozilla/editor/* \
            content/annozilla/icons/* \
            content/annozilla/prefs/* \
            content/annozilla/prefs/firefox/* \
            content/annozilla/prefs/firefox/1.5/* \
            content/annozilla/resources/* \
            skin/annozilla/* \
            skin/annozilla/icons/* \
            locale/en-US/annozilla/* \
            locale/fr-FR/annozilla/* \
            locale/ja-JP/annozilla/*
   
   xpi: versioncheck install.rdf chrome.manifest chrome/annozilla.jar
           $(COMPRESS) $(XPI) install.rdf chrome.manifest chrome/annozilla.jar
   
   chrome/annozilla.jar: chrome $(SOURCE)
           $(COMPRESS) chrome/annozilla.jar \
               `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` \
               `find locale -name CVS -prune -o -name '*.bak' -prune -o -name Thumbs.db -prune -o -type f -print`
   
   build: xpi
           BUILD=`perl -n -e 'print $$1 if /<em:version>(.*)<\/em:version>/' install.rdf` ;\
           mv $(XPI) ../downloads/annozilla-$$BUILD.xpi
   
   chrome:
           mkdir chrome
   
   locale/en-US/annozilla/help/%: ../www/manual/en-US/%
           cp $< $@
   
xpi: install.js install.rdf chrome/annozilla.jarversioncheck:
        $(COMPRESS) ../downloads/annozilla-latest.xpi install.js install.rdf chrome/annozilla.jar        INSTALL_RDF=`perl -n -e 'print $$1 if /<em:version>(.*)<\/em:version>/' install.rdf` ;\
         ABOUT_XUL=`perl -n -e 'print $$1 if /<label id="version" value="(.*)"\/>/' content/annozilla/about/aboutAnnozilla.xul` ;\
         perl -e "die 'Version incompatibility $$INSTALL_RDF/$$ABOUT_XUL' unless $$INSTALL_RDF eq $$ABOUT_XUL"
   
 chrome/annozilla.jar: $(SOURCE)  
         $(COMPRESS) chrome/annozilla.jar `find content/annozilla -name CVS -prune -o -name '*.bak' -o -name Thumbs.db -prune -o -type f -print` `find locale/en-US/annozilla  -name CVS -prune -o -name '*.bak' -o -type f -print`  

Removed from v.1.8  
changed lines
  Added in v.1.19


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