aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Fischer <frank.fischer@mathematik.tu-chemnitz.de>2011-09-07 09:34:48 +0200
committerFrank Fischer <frank.fischer@mathematik.tu-chemnitz.de>2011-09-07 09:34:48 +0200
commitb48d7ad58e64e60fb5d8efaba6dacae370747578 (patch)
treedeabc261ab65a24a37c1707963c352f68673daad
parentfa0a89cd1e7a61919ce3482d1b284f7e39d60d07 (diff)
Makefile: hide package creation commands for target 'elpa'
-rw-r--r--Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 661d04f..9db274e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,8 @@
SHELL = /bin/bash
EMACS = emacs
FILES = $(filter-out evil-tests.el,$(filter-out evil-pkg.el,$(wildcard evil*.el)))
-ELPAPKG = evil-`sed -n '3s/.*"\(.*\)".*/\1/p' evil-pkg.el`
+VERSION := $(shell sed -n '3s/.*"\(.*\)".*/\1/p' evil-pkg.el)
+ELPAPKG = evil-$(VERSION)
PROFILER =
TAG =
@@ -89,11 +90,12 @@ indent: clean
# Create an ELPA package.
elpa:
- rm -rf ${ELPAPKG}
- mkdir ${ELPAPKG}
- cp $(FILES) evil-pkg.el ${ELPAPKG}
- tar cf ${ELPAPKG}.tar ${ELPAPKG}
- rm -rf ${ELPAPKG}
+ @echo "Creating ELPA package $(ELPAPKG).tar"
+ @rm -rf ${ELPAPKG}
+ @mkdir ${ELPAPKG}
+ @cp $(FILES) evil-pkg.el ${ELPAPKG}
+ @tar cf ${ELPAPKG}.tar ${ELPAPKG}
+ @rm -rf ${ELPAPKG}
# Change the version using make VERSION=x.y.z
version: