summaryrefslogtreecommitdiff
path: root/homebrew/emacs/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/emacs/.make.sh-auto')
-rw-r--r--homebrew/emacs/.make.sh-auto10
1 files changed, 10 insertions, 0 deletions
diff --git a/homebrew/emacs/.make.sh-auto b/homebrew/emacs/.make.sh-auto
new file mode 100644
index 000000000..77398025a
--- /dev/null
+++ b/homebrew/emacs/.make.sh-auto
@@ -0,0 +1,10 @@
+pkg:setup
+args = %W[--disable-dependency-tracking --disable-silent-rules --enable-locallisppath=#{HOMEBREW_PREFIX}/share/emacs/site-lisp --infodir=#{info}/emacs --prefix=#{prefix} --with-gnutls --without-x --with-xml2 --without-dbus --with-modules --without-ns --without-imagemagick ]
+ENV.prepend_path "PATH", Formula["gnu-sed"].opt_libexec/"gnubin"
+./autogen.sh
+end
+pkg:configure *args
+make
+make DESTDIR=${PKG_DEST} install
+(bin/"ctags").unlink
+(man1/"ctags.1.gz").unlink