[28190] in Source-Commits

home help back first fref pref prev next nref lref last post

firefox-extension commit: Remove last vestiges of autoconf; add VERSION

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Mon May 5 15:33:12 2014

Date: Mon, 5 May 2014 15:33:03 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201405051933.s45JX3qL013623@drugstore.mit.edu>
To: source-commits@MIT.EDU

https://github.com/mit-athena/firefox-extension/commit/4517ce095e747097a9a045bbfe50a092b8615cee
commit 4517ce095e747097a9a045bbfe50a092b8615cee
Author: Jonathan Reed <jdreed@mit.edu>
Date:   Mon May 5 14:13:14 2014 -0400

    Remove last vestiges of autoconf; add VERSION
    
    The only reason this is still autoconf is to support --prefix and
    to work on platforms that don't have a working install(1) or a
    mkdir -p.  We don't care about those platforms.
    
    Convert Makefile.in to a trivial Makefile, and add a VERSION file
    for use with the new build system

 Makefile     |   52 +++++++++++++++++++++++++++++++++++++++++++++++++++
 Makefile.in  |   59 ----------------------------------------------------------
 VERSION      |    1 +
 configure.in |    6 -----
 install.rdf  |    2 +-
 5 files changed, 54 insertions(+), 66 deletions(-)

diff --git a/Makefile.in b/Makefile
similarity index 69%
rename from Makefile.in
rename to Makefile
index 8ffcbd6..3edea0b 100644
--- a/Makefile.in
+++ b/Makefile
@@ -1,16 +1,9 @@
-# $Id: Makefile.in,v 1.1 2006-06-01 16:59:11 rbasch Exp $
-
-SHELL=/bin/sh
-VPATH=@srcdir@
-INSTALL=@INSTALL@
-INSTALL_PROGRAM=@INSTALL_PROGRAM@
-INSTALL_SCRIPT=@INSTALL_SCRIPT@
-INSTALL_DATA=@INSTALL_DATA@
-srcdir=@srcdir@
-top_srcdir=@top_srcdir@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
+INSTALL=install
+INSTALL_DATA=${INSTALL} -m 644
+MKDIR_P=mkdir -p
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
 
 ATHEXTDIR = ${libdir}/debathena-firefox-extension
 CHROMEDIR = ${ATHEXTDIR}/chrome
@@ -39,10 +32,10 @@ chrome.manifest: chrome.manifest.in
 check:
 
 install:
-	${top_srcdir}/mkinstalldirs ${DESTDIR}${ATHEXTDIR}
-	${top_srcdir}/mkinstalldirs ${DESTDIR}${CHROMEDIR}
-	${top_srcdir}/mkinstalldirs ${DESTDIR}${COMPONENTS_DIR}
-	${top_srcdir}/mkinstalldirs ${DESTDIR}${PREFS_DIR}
+	${MKDIR_P} ${DESTDIR}${ATHEXTDIR}
+	${MKDIR_P} ${DESTDIR}${CHROMEDIR}
+	${MKDIR_P} ${DESTDIR}${COMPONENTS_DIR}
+	${MKDIR_P} ${DESTDIR}${PREFS_DIR}
 	${INSTALL_DATA} chrome/athena.jar ${DESTDIR}${CHROMEDIR}
 	${INSTALL_DATA} chrome.manifest ${DESTDIR}${ATHEXTDIR}
 	for i in ${COMPONENTS_FILES} ; do \
diff --git a/VERSION b/VERSION
new file mode 100644
index 0000000..26ee5b0
--- /dev/null
+++ b/VERSION
@@ -0,0 +1 @@
+10.2.1
diff --git a/configure.in b/configure.in
deleted file mode 100644
index d7729f7..0000000
--- a/configure.in
+++ /dev/null
@@ -1,6 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-AC_INIT(install.rdf)
-
-AC_PROG_INSTALL
-
-AC_OUTPUT(Makefile)
diff --git a/install.rdf b/install.rdf
index 2d01ec9..23c5548 100644
--- a/install.rdf
+++ b/install.rdf
@@ -5,7 +5,7 @@
 
   <Description about="urn:mozilla:install-manifest">
     <em:id>athena@mit.edu</em:id>
-    <em:version>10.1</em:version>
+    <em:version>10.2.1</em:version>
     <em:type>2</em:type>
    
     <!-- Target Application this extension can install into, 

home help back first fref pref prev next nref lref last post