branch: elpa/drupal-mode
commit f95aa100284328c8d888aeebbfafee1dcdf23781
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>
Optimized variable expansion in Makefile.
---
Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 14fea6b753..b630dc8834 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
.PHONY: all clean install
-ARCHIVE_NAME=drupal-mode
-VERSION=$(shell emacs --batch --eval "(with-temp-buffer \
+ARCHIVE_NAME:=drupal-mode
+VERSION:=$(shell emacs --batch --eval "(with-temp-buffer \
(require 'package)\
(insert-file \"$(ARCHIVE_NAME).el\")\
(princ (aref (package-buffer-info) 3)))")
-PACKAGE_NAME=$(ARCHIVE_NAME)-$(VERSION)
+PACKAGE_NAME:=$(ARCHIVE_NAME)-$(VERSION)
all: $(PACKAGE_NAME).tar