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

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

[elpa] externals/company b67a8b1 6/7: Update manual packaging


From: ELPA Syncer
Subject: [elpa] externals/company b67a8b1 6/7: Update manual packaging
Date: Thu, 30 Sep 2021 16:57:09 -0400 (EDT)

branch: externals/company
commit b67a8b1d4c56bcdc32ac3633bd7d0188413da48a
Author: YE <yet@ego.team>
Commit: YE <yet@ego.team>

    Update manual packaging
---
 Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index fe75bce..99b3646 100644
--- a/Makefile
+++ b/Makefile
@@ -15,8 +15,9 @@ help:
        @for t in ${ALL_TARGETS}; do echo "- "$$t; done
 
 package: *.el
-       @ver=`grep -o "Version: .*" company.el | cut -c 10-`; \
-       tar ${TAR_OPTIONS} company-$$ver.tar.bz2 $$(find . -name \*.el)
+       @VERSION=$$(awk '/Version:/{print $$3;exit}' company.el); \
+       FILES=$$(find . \! -name .\* -a \( -maxdepth 1 -name \*.el -o -name 
icons \) ); \
+       tar ${TAR_OPTIONS} company-$$VERSION.tar.bz2 $$FILES
 
 clean:
        @rm -rf company-*.tar.bz2 *.elc test/*.elc



reply via email to

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