Browse Source

Ready for a release!

Douglas William Thrift 10 years ago
parent
commit
cf61bf3d73
4 changed files with 43 additions and 3 deletions
  1. 1 0
      .gitignore
  2. 29 0
      GNUmakefile
  3. 2 3
      install.rdf
  4. 11 0
      makefile

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+*.xpi

+ 29 - 0
GNUmakefile

@@ -0,0 +1,29 @@
+# Tab Complete
+#
+# Douglas Thrift
+#
+# GNUmakefile
+
+ifeq ($(OS),Windows_NT)
+SED := C:\cygwin\bin\sed.exe
+ZIP := C:\cygwin\bin\zip.exe
+RM_F := del /F /A
+else
+SED := gsed
+ZIP := zip
+RM_F := rm -f
+endif
+
+files := install.rdf bootstrap.js
+version := $(shell $(SED) -re 's|^.*<em:version>(.+)</em:version>|\1|p;d' install.rdf)
+xpi := tabcomplete-$(version).xpi
+
+.PHONY: all clean
+
+all: $(xpi)
+
+$(xpi): $(files)
+	$(ZIP) -ll $(xpi) $(files)
+
+clean:
+	-$(RM_F) *.xpi

+ 2 - 3
install.rdf

@@ -2,11 +2,11 @@
 <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
     <Description about="urn:mozilla:install-manifest">
         <em:id>tabcomplete@douglasthrift.net</em:id>
-        <em:version>1.0alpha</em:version>
+        <em:version>1.0</em:version>
         <em:type>2</em:type>
+        <!-- Instantbird -->
         <em:targetApplication>
             <Description>
-                <!-- Instantbird -->
                 <em:id>{33cb9019-c295-46dd-be21-8c4936574bee}</em:id>
                 <em:minVersion>0.3b1</em:minVersion>
                 <em:maxVersion>1.0.*</em:maxVersion>
@@ -16,7 +16,6 @@
         <em:bootstrap>true</em:bootstrap>
         <em:description>Tab completion for conversation windows including commands and nicknames.</em:description>
         <em:creator>Douglas Thrift</em:creator>
-        <em:homepageURL>http://code.douglasthrift.net/trac/tabcomplete</em:homepageURL>
     </Description>
 </RDF>
 <!-- vim: set expandtab: -->

+ 11 - 0
makefile

@@ -0,0 +1,11 @@
+# Tab Complete
+#
+# Douglas Thrift
+#
+# makefile
+
+all:
+	mingw32-make $@
+
+clean:
+	mingw32-make $@