[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/caml 7eec9fb 07/14: Makefile: replace DIST_DIR with DIST_N
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/caml 7eec9fb 07/14: Makefile: replace DIST_DIR with DIST_NAME |
Date: |
Tue, 24 Aug 2021 05:57:23 -0400 (EDT) |
branch: elpa/caml
commit 7eec9fbc49a7f0880a3d98493e5afc98366b58d9
Author: Christophe Troestler <Christophe.Troestler@umons.ac.be>
Commit: Christophe Troestler <Christophe.Troestler@umons.ac.be>
Makefile: replace DIST_DIR with DIST_NAME
---
Makefile | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index b10ea1f..688327e 100644
--- a/Makefile
+++ b/Makefile
@@ -16,8 +16,7 @@ VERSION = $(shell grep "^;; *Version" caml.el \
| sed -e 's/;; *Version: *\([^ \t]*\)/\1/')
DESCRIPTION = $(shell grep ';;; caml.el ---' caml.el \
| sed 's/[^-]*--- *\(.*\)/\1/')
-DIST_DIR = caml-mode-$(VERSION)
-OPAM_DIR = caml-mode.$(VERSION)
+DIST_NAME = caml-mode-$(VERSION)
TARBALL = caml-mode-$(VERSION).tgz
OPAM_FILE = packages/caml-mode/caml-mode.$(VERSION)/opam
@@ -104,12 +103,12 @@ install-ocamltags: ocamltags
$(INSTALL_DATA) ocamltags $(SCRIPTDIR)/ocamltags
$(TARBALL): $(DIST_FILES)
- mkdir -p $(DIST_DIR)
- for f in $(DIST_FILES); do cp $$f $(DIST_DIR); done
+ $(INSTALL_MKDIR) $(DIST_NAME)
+ for f in $(DIST_FILES); do cp $$f $(DIST_NAME); done
echo "(define-package \"caml\" \"$(VERSION)\" \"$(DESCRIPTION)\" \
- )" > $(DIST_DIR)/caml-pkg.el
- tar acvf $@ $(DIST_DIR)
- $(RM) -rf $(DIST_DIR)
+ )" > $(DIST_NAME)/caml-pkg.el
+ tar acvf $@ $(DIST_NAME)
+ $(INSTALL_RM_R) $(DIST_NAME)
# This is for testing purposes
compile-only:
- [nongnu] elpa/caml updated (118fade -> f04c2e4), ELPA Syncer, 2021/08/24
- [nongnu] elpa/caml fb9b42c 02/14: Derive caml-mode from prog-mode, ELPA Syncer, 2021/08/24
- [nongnu] elpa/caml f69b62b 03/14: Fix some warnings and require Emacs ≥ 24.3, ELPA Syncer, 2021/08/24
- [nongnu] elpa/caml 3057965 04/14: Remove caml-string-to-int, ELPA Syncer, 2021/08/24
- [nongnu] elpa/caml 06c445b 06/14: Generate the OPAM file in the packages/ directory, ELPA Syncer, 2021/08/24
- [nongnu] elpa/caml 5f26293 08/14: Makefile: only compile the elisp code as default target, ELPA Syncer, 2021/08/24
- [nongnu] elpa/caml ad39af1 09/14: Simplify the “install” make target, ELPA Syncer, 2021/08/24
- [nongnu] elpa/caml cf6a092 01/14: Put the groups in the 'languages standard group, ELPA Syncer, 2021/08/24
- [nongnu] elpa/caml aba3de4 05/14: Subtler detection of Emacs executable, ELPA Syncer, 2021/08/24
- [nongnu] elpa/caml 7eec9fb 07/14: Makefile: replace DIST_DIR with DIST_NAME,
ELPA Syncer <=
- [nongnu] elpa/caml 372df7a 10/14: Makefile: add a “tarball” target for convenience, ELPA Syncer, 2021/08/24
- [nongnu] elpa/caml 6d4f18e 11/14: Update caml.el header, ELPA Syncer, 2021/08/24
- [nongnu] elpa/caml 38088c3 12/14: Ignore the “packages” symbolic link, ELPA Syncer, 2021/08/24
- [nongnu] elpa/caml 6fe87ee 13/14: Update the OPAM file, ELPA Syncer, 2021/08/24
- [nongnu] elpa/caml f04c2e4 14/14: Makefile: add uninstall targets, ELPA Syncer, 2021/08/24