[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/company 7c25307 4/7: Fix Darwin compatibility of 'make
From: |
ELPA Syncer |
Subject: |
[elpa] externals/company 7c25307 4/7: Fix Darwin compatibility of 'make package' |
Date: |
Thu, 30 Sep 2021 16:57:08 -0400 (EDT) |
branch: externals/company
commit 7c253070417dd1cf011339c6b64597486bb054c8
Author: YE <yet@ego.team>
Commit: YE <yet@ego.team>
Fix Darwin compatibility of 'make package'
---
Makefile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 7dce400..d3b5855 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,13 @@
EMACS = emacs
+
ALL_TARGETS = help package clean test test-gui test-batch compile compile-warn
+TAR_OPTIONS = cjvf
+ifneq ($(shell uname -s), Darwin)
+ TAR_OPTIONS += --mode 644
+endif
+
+
.PHONY: ${ALL_TARGETS}
help:
@@ -9,7 +16,7 @@ help:
package: *.el
@ver=`grep -o "Version: .*" company.el | cut -c 10-`; \
- tar cjvf company-$$ver.tar.bz2 --mode 644 $$(find . -name \*.el)
+ tar ${TAR_OPTIONS} company-$$ver.tar.bz2 $$(find . -name \*.el)
clean:
@rm -rf company-*/ company-*.tar.bz2 *.elc ert.el test/*.elc
- [elpa] externals/company updated (5c84da8 -> f079bca), ELPA Syncer, 2021/09/30
- [elpa] externals/company 02f0145 5/7: Update 'make clean' recipe, ELPA Syncer, 2021/09/30
- [elpa] externals/company b67a8b1 6/7: Update manual packaging, ELPA Syncer, 2021/09/30
- [elpa] externals/company 3c5ac38 1/7: Fix Phony targets, ELPA Syncer, 2021/09/30
- [elpa] externals/company ba6ad7e 3/7: Add make help target, ELPA Syncer, 2021/09/30
- [elpa] externals/company 25f2fe8 2/7: Remove outdated target elpa, ELPA Syncer, 2021/09/30
- [elpa] externals/company 7c25307 4/7: Fix Darwin compatibility of 'make package',
ELPA Syncer <=
- [elpa] externals/company f079bca 7/7: Merge pull request #1230 from yugaego/makefile, ELPA Syncer, 2021/09/30