File: Makefile

package info (click to toggle)
lua-mode 20110121-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 112 kB
  • sloc: lisp: 860; makefile: 40; sh: 26
file content (15 lines) | stat: -rw-r--r-- 533 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Makefile for lua-mode

VERSION=$(shell grep "^;; Version:" lua-mode.el | cut -f 2)
DISTFILE = lua-mode-$(VERSION).zip

dist:
	rm -f $(DISTFILE) && \
	zip $(DISTFILE) -r . -x ".git/*" "*.gitignore" "*.zip"

release:
	git diff --exit-code && \
	git tag -a -m "Release tag" rel-$(VERSION) && \
	git push origin master && git pull origin master && \
	woger lua-l lua-mode lua-mode "release $(VERSION)" "Emacs major mode for editing Lua files" release-notes-$(VERSION) http://github.com/rrthomas/lua-mode/
	@echo 'Send update to ELPA!'