emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/lua-mode ddcd8b8 102/468: Makefile: specify dist contents


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode ddcd8b8 102/468: Makefile: specify dist contents explicitly
Date: Thu, 5 Aug 2021 04:58:16 -0400 (EDT)

branch: elpa/lua-mode
commit ddcd8b8af266385f3594dc6715ccbc4ad76c476a
Author: immerrr <immerrr+lua@gmail.com>
Commit: immerrr <immerrr+lua@gmail.com>

    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

[Prev in Thread] Current Thread [Next in Thread]