branch: elpa/lua-mode
commit e3a828265df5585164bfe1396cd5ec8ddd0c0506
Author: immerrr <[email protected]>
Commit: immerrr <[email protected]>
Make URL/Version fields in lua-mode.el prettier, update parse expression in
Makefile
---
Makefile | 2 +-
lua-mode.el | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index d5325cc..d84927e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# Makefile for lua-mode
-VERSION=$(shell grep "^;; Version:" lua-mode.el | cut -f 2)
+VERSION="$(shell sed -nre '/^;; Version:/ { s/^;; Version:[ \t]+//; p }'
lua-mode.el)"
DISTFILE = lua-mode-$(VERSION).zip
default:
diff --git a/lua-mode.el b/lua-mode.el
index 371f2c6..91e8e5c 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -12,8 +12,9 @@
;; with tons of assistance from
;; Paul Du Bois <[email protected]> and
;; Aaron Smith <[email protected]>.
-;; URL: http://lua-mode.luaforge.net/
-;; Version: 20110315
+;;
+;; URL: http://lua-mode.luaforge.net/
+;; Version: 20110121
;; This file is NOT part of Emacs.
;;
;; This program is free software; you can redistribute it and/or