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

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

[elpa] externals/csharp-mode f2fda33 041/459: Fix errors in `make packag


From: ELPA Syncer
Subject: [elpa] externals/csharp-mode f2fda33 041/459: Fix errors in `make package`.
Date: Sun, 22 Aug 2021 13:58:52 -0400 (EDT)

branch: externals/csharp-mode
commit f2fda3360abb754bf80227868609e4eccf651b86
Author: Jostein Kjønigsen <jostein@kjonigsen.net>
Commit: Jostein Kjønigsen <jostein@kjonigsen.net>

    Fix errors in `make package`.
    Now installs properly via `M-x package-install-file`.
---
 csharp-mode-package-template.el | 4 ++--
 makefile                        | 9 ++++-----
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/csharp-mode-package-template.el b/csharp-mode-package-template.el
index 9a7d092..9f10ccb 100644
--- a/csharp-mode-package-template.el
+++ b/csharp-mode-package-template.el
@@ -1,4 +1,4 @@
 (define-package
-    "demo-multifile"
+    "csharp-mode"
     "VERSION"
-  "a demo multifile package.")
+    "C# mode derived mode")
diff --git a/makefile b/makefile
index ddcd321..65d9f92 100644
--- a/makefile
+++ b/makefile
@@ -1,21 +1,20 @@
-#VERSION:=0.8.7
 VERSION=$(shell grep ";; Version " csharp-mode.el | cut -d ":" -f2 | cut -c2-)
 PACKAGE_SHORTNAME=csharp-mode
 PACKAGE_NAME:=$(PACKAGE_SHORTNAME)-$(VERSION)
-#PACKAGE_DIR:=./.tmp/$(PACKAGE_NAME)
-PACKAGE_DIR:=/tmp/$(PACKAGE_NAME)
+PACKAGE_DIR:=./.tmp/$(PACKAGE_NAME)
+#PACKAGE_DIR:=/tmp/$(PACKAGE_NAME)
 
 EMACS=$(shell which emacs) -Q -batch -L .
 ELS = csharp-mode.el csharp-mode-tests.el
 ELCS = $(ELS:.el=.elc)
 
 package: $(PACKAGE_DIR)
-       tar cvf ../$(PACKAGE_NAME).tar --exclude="*#" --exclude="*~" 
--exclude="*tests*" --exclude "*package-template*" --exclude="makefile" 
--exclude="*.sh" -C $(PACKAGE_DIR)/.. $(PACKAGE_NAME)
+       tar cvf ../$(PACKAGE_NAME).tar --exclude="*#" --exclude="*~" 
--exclude="*tests*" --exclude "*package-template*" --exclude="makefile" 
--exclude="run-travis-ci.sh" -C $(PACKAGE_DIR)/.. $(PACKAGE_NAME)
 
 $(PACKAGE_DIR):
        mkdir -p $@
        cp -r ../$(PACKAGE_SHORTNAME)/* $@
-       sed -re "s/VERSION/$(VERSION)/" 
$@/$(PACKAGE_SHORTNAME)-package-template.el > $@/$(PACKAGE_NAME)-pkg.el
+       sed -re "s/VERSION/$(VERSION)/" 
$@/$(PACKAGE_SHORTNAME)-package-template.el > $@/$(PACKAGE_SHORTNAME)-pkg.el
 
 test:
        + $(EMACS) -l csharp-mode-tests.el -f ert-run-tests-batch-and-exit



reply via email to

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