Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Makefile: specify dist contents explicitly

  • Loading branch information...
commit ddcd8b8af266385f3594dc6715ccbc4ad76c476a 1 parent 5953970
immerrr again authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 Makefile
9 Makefile
View
@@ -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 && \
Please sign in to comment.
Something went wrong with that request. Please try again.