From 64c8e0c87e02e3a05631d67c9d3072ca87234711 Mon Sep 17 00:00:00 2001 From: Mike Burns Date: Thu, 20 Feb 2014 15:49:36 +0100 Subject: Start bringing in the Makefile.am from gitsh It introduces the `Makefile.am` from gitsh, and abstracts it a bit. This `Makefile.am`, or most of it, could be dropped into gitsh again. How to use it is documented in `DEVELOPERS.md`. The whole release process is more consistent and simple: `make release` to build a tarball, Homebrew, Arch, Debian, HTML (from manpages), and tag it, pushed to the various repos, and with cleanup. The `release` target is composed of smaller targets that stack well. --- homebrew/rcm.rb.in | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 homebrew/rcm.rb.in (limited to 'homebrew/rcm.rb.in') diff --git a/homebrew/rcm.rb.in b/homebrew/rcm.rb.in new file mode 100644 index 0000000..3b858eb --- /dev/null +++ b/homebrew/rcm.rb.in @@ -0,0 +1,17 @@ +require 'formula' + +class Rcm < Formula + homepage 'http://thoughtbot.github.io/rcm' + url 'http://thoughtbot.github.io/@PACKAGE@/dist/@DIST_ARCHIVES@' + sha1 '@DIST_SHA@' + + def install + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make", "install" + end + + test do + system "lsrc" + end +end -- cgit v1.2.3