From 8290758b2f1deedb3c33b13b7d6277bc029aefb6 Mon Sep 17 00:00:00 2001 From: Kazu Yamamoto Date: Mon, 20 May 2013 16:17:16 +0900 Subject: [PATCH] adding "bump" and "archive" --- elisp/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/elisp/Makefile b/elisp/Makefile index efe0543..b2233f7 100644 --- a/elisp/Makefile +++ b/elisp/Makefile @@ -21,3 +21,12 @@ $(TEMPFILE): clean: rm -f *.elc $(TEMPFILE) + +VERSION = `grep version ghc.el | sed -e 's/[^0-9\.]//g'` + +bump: + echo "(define-package\n \"ghc-mod\"\n $(VERSION)\n \"Sub mode for Haskell mode\"\n nil)" > ghc-pkg.el + +archive: + git archive master -o ~/ghc-$(VERSION).tar --prefix=ghc-$(VERSION)/ + gzip ~/ghc-$(VERSION).tar