Permalink
Browse files

Updated metadata and relying on external Makefile for build.

darcs-hash:20070504212244-8cc29-f35bb67e0a2914547606c93c4f9c5817d54cc4b5.gz
  • Loading branch information...
1 parent 93b16bd commit 033785e846198f925f17d8dbb5f3e6d08b7b019e @bard committed May 4, 2007
Showing with 27 additions and 35 deletions.
  1. +0 −32 Makefile
  2. +27 −3 install.rdf.template → install.rdf
View
@@ -1,32 +0,0 @@
-NAME=$(shell basename $(shell pwd))
-VERSION=$(shell darcs changes | grep '^ tagged ' | sed 's/ tagged //' | head -1)
-BUILD=$(shell date +%Y%m%d%H)
-FILE=$(NAME)-$(VERSION).$(BUILD).xpi
-EXTID=$(NAME)@hyperstruct.net
-
-dist: xpi
- mv $(FILE) ../dev.hyperstruct.net/download
- cd ../dev.hyperstruct.net/download && ln -sf $(FILE) $(NAME).xpi
-
-xpi: $(FILE)
-
-install.rdf:
- sed -e 's|<em:version></em:version>|<em:version>$(VERSION).$(BUILD)</em:version>|' \
- -e 's|<em:id></em:id>|<em:id>$(EXTID)</em:id>|' \
- install.rdf.template >install.rdf
-
-$(FILE): install.rdf
- rm -rf dist
- mkdir dist dist/chrome
- cd chrome && zip -y -r ../dist/chrome/$(NAME).jar . -x content/lab/\*
- sed -e 's|chrome/|jar:chrome/$(NAME).jar!/|g' chrome.manifest >dist/chrome.manifest
- sed -e 's|<em:version></em:version>|<em:version>$(VERSION).$(BUILD)</em:version>|' \
- install.rdf.template >dist/install.rdf
- cp -a defaults components install.rdf dist
- cd dist && zip -r ../$(FILE) *
- rm -rf dist
-
-clean:
- rm -rf dist *.xpi
-
-.PHONY: dist clean upload install.rdf
@@ -5,22 +5,46 @@
<Description about="urn:mozilla:install-manifest">
<em:id>mozlab@hyperstruct.net</em:id>
- <em:version></em:version>
+ <em:version>42.0.0</em:version>
<em:type>2</em:type>
+ <!-- firefox -->
+
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>1.5</em:minVersion>
- <em:maxVersion>2.0.0.*</em:maxVersion>
+ <em:maxVersion>3.0.0.*</em:maxVersion>
+ </Description>
+ </em:targetApplication>
+
+ <!-- flock -->
+
+ <em:targetApplication>
+ <Description>
+ <em:id>{a463f10c-3994-11da-9945-000d60ca027b}</em:id>
+ <em:maxVersion>1.0</em:maxVersion>
+ <em:minVersion>0.4</em:minVersion>
</Description>
</em:targetApplication>
+ <!-- thunderbird -->
+
<em:targetApplication>
<Description>
<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
<em:minVersion>1.5</em:minVersion>
- <em:maxVersion>1.5.0.*</em:maxVersion>
+ <em:maxVersion>2.0.0.*</em:maxVersion>
+ </Description>
+ </em:targetApplication>
+
+ <!-- songbird -->
+
+ <em:targetApplication>
+ <Description>
+ <em:id>songbird@songbirdnest.com</em:id>
+ <em:minVersion>0.2</em:minVersion>
+ <em:maxVersion>1.0+</em:maxVersion>
</Description>
</em:targetApplication>

0 comments on commit 033785e

Please sign in to comment.