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

    Fix error in path in makefile.
---
 makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/makefile b/makefile
index 1cc8320..1426fa1 100644
--- a/makefile
+++ b/makefile
@@ -2,6 +2,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)
 
 EMACS=$(shell which emacs) -Q -batch -L .
@@ -12,9 +13,9 @@ package: $(PACKAGE_DIR)
        tar cvf ../$(PACKAGE_NAME).tar --exclude="*#" --exclude="*~" -C 
$(PACKAGE_DIR)/.. $(PACKAGE_NAME)
 
 $(PACKAGE_DIR):
-       mkdir $@
+       mkdir -p $@
        cp -r ../$(PACKAGE_SHORTNAME)/* $@
-       sed -re "s/VERSION/$(VERSION)/" $@/$(PACKAGE_NAME)-package-template.el 
> $@/$(PACKAGE_NAME)-pkg.el
+       sed -re "s/VERSION/$(VERSION)/" 
$@/$(PACKAGE_SHORTNAME)-package-template.el > $@/$(PACKAGE_NAME)-pkg.el
 
 test:
        + $(EMACS) -l csharp-mode-tests.el -f ert-run-tests-batch-and-exit

Reply via email to