|
From: <and...@us...> - 2007-06-12 11:50:00
|
Revision: 9169
http://zaf.svn.sourceforge.net/zaf/?rev=9169&view=rev
Author: andreaspauley
Date: 2007-06-12 04:49:58 -0700 (Tue, 12 Jun 2007)
Log Message:
-----------
Fixed the building of myspell xpi files for Mozilla versions 2.
Modified Paths:
--------------
trunk/dict/utils/Makefile.language
Modified: trunk/dict/utils/Makefile.language
===================================================================
--- trunk/dict/utils/Makefile.language 2007-06-12 11:46:37 UTC (rev 9168)
+++ trunk/dict/utils/Makefile.language 2007-06-12 11:49:58 UTC (rev 9169)
@@ -92,7 +92,7 @@
rm -rf $(TARGETS_MYSPELL)
# make myspell will make the required zip files
-myspell: myspell/myspell-$(LANG)_$(REGION)-$(VERSION).zip myspell/myspell-pack-$(LANG)-$(REGION)-$(VERSION).zip myspell/spell-$(LANG)-$(REGION)-$(VERSION).xpi myspell/spell2-$(LANG)-$(REGION)-$(VERSION).xpi
+myspell: myspell/myspell-$(LANG)_$(REGION)-$(VERSION).zip myspell/myspell-pack-$(LANG)-$(REGION)-$(VERSION).zip myspell/spell-$(LANG)-$(REGION)-$(VERSION).xpi myspell/spell2-$(LANG)-$(REGION)-$(VERSION).xpi myspell-xpi2
# this is a package that is usable for offline installation
myspell/myspell-pack-$(LANG)-$(REGION)-$(VERSION).zip: myspell/myspell-$(LANG)_$(REGION)-$(VERSION).zip myspell/spell.txt
@@ -149,8 +149,12 @@
myspell/xpi2/install.rdf: ../utils/mozilla/install.rdf.in
sed "s/{LANG}/$(LANG)/; s/{REGION}/$(REGION)/; s/{LANGNAME}/$(LANGNAME)/; s/{REGIONNAME}/$(REGIONNAME)/; s/{VERSION}/$(VERSION)/" < $< > $@
-myspell/spell2-$(LANG)-$(REGION)-$(VERSION).xpi: myspell/$(LANG)-$(REGION).aff myspell/$(LANG)-$(REGION).dic myspell/README-$(LANG)-$(REGION).txt myspell/xpi2 myspell/xpi2/install.js myspell/xpi2/install.rdf
- zip -j $@ $^
+myspell-xpi2:
+ cp myspell/README-$(LANG)-$(REGION).txt myspell/xpi2/
+ mkdir -p myspell/xpi2/dictionaries
+ cp myspell/$(LANG)-$(REGION).dic myspell/xpi2/dictionaries/
+ cp myspell/$(LANG)-$(REGION).aff myspell/xpi2/dictionaries/
+ (cd myspell/xpi2; ls; rm -f spell2-$(LANG)-$(REGION)-$(VERSION).xpi; zip -r spell2-$(LANG)-$(REGION)-$(VERSION).xpi dictionaries/ README-$(LANG)-$(REGION).txt install.js install.rdf)
# Ispell Rules
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|