Browse files

Makefile: specify dist contents explicitly

  • Loading branch information...
1 parent 5953970 commit ddcd8b8af266385f3594dc6715ccbc4ad76c476a @immerrr committed Mar 24, 2011
Showing with 8 additions and 1 deletion.
  1. +8 −1 Makefile
View
9 Makefile
@@ -3,12 +3,19 @@
VERSION="$(shell sed -nre '/^;; Version:/ { s/^;; Version:[ \t]+//; p }' lua-mode.el)"
DISTFILE = lua-mode-$(VERSION).zip
+DIST_CONTENTS = \
+ lua-mode.el \
+ README \
+ README.md \
+ TODO \
+ Makefile
+
default:
@echo version is $(VERSION)
dist:
rm -f $(DISTFILE) && \
- zip $(DISTFILE) -r . -x ".git/*" "*.gitignore" "*.zip"
+ zip $(DISTFILE) -r $(DIST_CONTENTS)
release:
git diff --exit-code && \

0 comments on commit ddcd8b8

Please sign in to comment.