branch: elpa/lua-mode
commit ddcd8b8af266385f3594dc6715ccbc4ad76c476a
Author: immerrr <[email protected]>
Commit: immerrr <[email protected]>

    Makefile: specify dist contents explicitly
---
 Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index d84927e..4bc3ae5 100644
--- a/Makefile
+++ b/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 && \

Reply via email to