Diff for /annozilla/src/makefile between versions 1.14 and 1.21

version 1.14, 2006/06/27 19:53:42 version 1.21, 2008/12/01 21:20:51
Line 1 Line 1
 COMPRESS = perl zip.pl  COMPRESS = perl zip.pl
 XPI = ../downloads/annozilla-latest.xpi  XPI = ../downloads/annozilla-latest.xpi
   
 HELPFILES = locale/en-US/annozilla/help/creating.xhtml \  
             locale/en-US/annozilla/help/editing.xhtml \  
             locale/en-US/annozilla/help/firefox-editor.png \  
             locale/en-US/annozilla/help/general.xhtml \  
             locale/en-US/annozilla/help/help.css \  
             locale/en-US/annozilla/help/index.xhtml \  
             locale/en-US/annozilla/help/languages.xhtml \  
             locale/en-US/annozilla/help/loading.xhtml \  
             locale/en-US/annozilla/help/preferences.xhtml \  
             locale/en-US/annozilla/help/product-firefox.png \  
             locale/en-US/annozilla/help/product-mozilla.png \  
             locale/en-US/annozilla/help/servers.xhtml \  
             locale/en-US/annozilla/help/viewing.xhtml  
   
 SOURCE = content/annozilla/* \  SOURCE = content/annozilla/* \
          content/annozilla/about/* \  
          content/annozilla/editor/* \           content/annozilla/editor/* \
          content/annozilla/icons/* \           content/annozilla/icons/* \
          content/annozilla/prefs/* \           content/annozilla/prefs/* \
          content/annozilla/prefs/firefox/* \           content/annozilla/prefs/firefox/* \
            content/annozilla/prefs/firefox/1.5/* \
            content/annozilla/prefs/wizard/* \
            content/annozilla/resources/* \
            skin/annozilla/* \
            skin/annozilla/icons/* \
          locale/en-US/annozilla/* \           locale/en-US/annozilla/* \
          locale/fr-FR/annozilla/* \           locale/fr-FR/annozilla/* \
          locale/ja-JP/annozilla/*           locale/ja-JP/annozilla/*
   
xpi: versioncheck install.js install.rdf chrome/annozilla.jarxpi: install.rdf chrome.manifest chrome/annozilla.jar components/annozillaStartup.js
        $(COMPRESS) $(XPI) install.js install.rdf chrome/annozilla.jar        $(COMPRESS) $(XPI) install.rdf chrome.manifest chrome/annozilla.jar components/annozillaStartup.js
   
chrome/annozilla.jar: $(SOURCE)chrome/annozilla.jar: chrome $(SOURCE)
         $(COMPRESS) chrome/annozilla.jar \          $(COMPRESS) chrome/annozilla.jar \
            `find content/annozilla -name CVS -prune -o -name '*.bak' -o -name Thumbs.db -prune -o -name '.#*' -prune -o -type f -print` \            `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`              `find locale -name CVS -prune -o -name '*.bak' -prune -o -name Thumbs.db -prune -o -type f -print`
   
locale/en-US/annozilla/help/%: ../www/manual/en-US/%build: xpi
        cp $< $@        BUILD=`perl -n -e 'print $$1 if /<em:version>(.*)<\/em:version>/' install.rdf` ;\
        mv $(XPI) ../downloads/annozilla-$$BUILD.xpi
versioncheck: 
        INSTALL_JS=`perl -n -e 'print $$1 if /<em:version>(.*)<\/em:version>/' install.rdf` ;\ 
        INSTALL_RDF=`perl -n -e 'print $$1 if /const myProductRegVersion = "(.*)";/' install.js` ;\ 
        ABOUT_XUL=`perl -n -e 'print $$1 if /<label id="version" value="(.*)"\/>/' content/annozilla/about/aboutAnnozilla.xul` ;\ 
        perl -e "die 'Version incompatibility $$INSTALL_JS/$$INSTALL_RDF/$$ABOUT_XUL' unless $$INSTALL_JS eq $$INSTALL_RDF and $$INSTALL_JS eq $$ABOUT_XUL" 
   
install: xpichrome:
        cp $(XPI) 'c:/Documents and Settings/matthew/Application Data/Firefox/Profiles/default/xrh4z19c.slt/extensions/'        mkdir chrome
   
   locale/en-US/annozilla/help/%: ../www/manual/en-US/%
           cp $< $@

Removed from v.1.14  
changed lines
  Added in v.1.21


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