[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/caml 742a910 01/10: Get the synopsis from caml.el
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/caml 742a910 01/10: Get the synopsis from caml.el |
Date: |
Wed, 25 Aug 2021 02:57:17 -0400 (EDT) |
branch: elpa/caml
commit 742a910dd40e5600461085e2735fa3a2ebbd8736
Author: Christophe Troestler <Christophe.Troestler@umons.ac.be>
Commit: Christophe Troestler <Christophe.Troestler@umons.ac.be>
Get the synopsis from caml.el
---
Makefile | 11 ++++++-----
caml-mode.opam | 1 +
caml.el | 2 +-
3 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index 36c97ce..8b44045 100644
--- a/Makefile
+++ b/Makefile
@@ -14,8 +14,8 @@
VERSION = $(shell grep "^;; *Version" caml.el \
| sed -e 's/;; *Version: *\([^ \t]*\)/\1/')
-DESCRIPTION = $(shell grep ';;; caml.el ---' caml.el \
- | sed 's/[^-]*--- *\(.*\)/\1/')
+SYNOPSIS = $(shell grep ';;; caml.el ---' caml.el \
+ | sed 's/[^-]*--- *\([^-]\+\) \+.*/\1/')
DIST_NAME = caml-mode-$(VERSION)
TARBALL = caml-mode-$(VERSION).tgz
OPAM_FILE = packages/caml-mode/caml-mode.$(VERSION)/opam
@@ -99,8 +99,8 @@ tarball: $(TARBALL)
$(TARBALL): $(DIST_FILES)
$(INSTALL_MKDIR) $(DIST_NAME)
for f in $(DIST_FILES); do cp $$f $(DIST_NAME); done
- echo "(define-package \"caml\" \"$(VERSION)\" \"$(DESCRIPTION)\" \
- )" > $(DIST_NAME)/caml-pkg.el
+ echo "(define-package \"caml\" \"$(VERSION)\" \"$(SYNOPSIS)\")" \
+ > $(DIST_NAME)/caml-pkg.el
tar acvf $@ $(DIST_NAME)
$(INSTALL_RM_R) $(DIST_NAME)
@@ -110,7 +110,8 @@ submit: $(TARBALL)
exit 1; \
fi
$(INSTALL_MKDIR) $(dir $(OPAM_FILE))
- sed -e "s/VERSION/$(VERSION)/" caml-mode.opam > $(OPAM_FILE)
+ sed -e "s/VERSION/$(VERSION)/" -e 's/SYNOPSIS/$(SYNOPSIS)/' \
+ caml-mode.opam > $(OPAM_FILE)
echo "url {" >> $(OPAM_FILE)
echo " src:
\"https://github.com/ocaml/caml-mode/releases/download/$(VERSION)/$(TARBALL)\""
>> $(OPAM_FILE)
echo " checksum: \"md5=`md5sum $(TARBALL) | cut -d ' ' -f 1`\"" \
diff --git a/caml-mode.opam b/caml-mode.opam
index bf63a00..0407fc2 100644
--- a/caml-mode.opam
+++ b/caml-mode.opam
@@ -26,3 +26,4 @@ post-messages: """
If you have not yet done so, please add in ~/.emacs.d/init.el or
in ~/.emacs to following line:
(add-to-list 'load-path "%{share}%/emacs/site-lisp/")""" {success}
+synopsis: "SYNOPSIS"
diff --git a/caml.el b/caml.el
index 58626a6..4494ced 100644
--- a/caml.el
+++ b/caml.el
@@ -1,4 +1,4 @@
-;;; caml.el --- OCaml code editing commands for Emacs -*- lexical-binding: t;
-*-
+;;; caml.el --- Caml mode for GNU Emacs and XEmacs -*- lexical-binding: t; -*-
;; Copyright (C) 1997-2017 Institut National de Recherche en Informatique et
en Automatique.
- [nongnu] elpa/caml updated (ab175f6 -> 3b6913e), ELPA Syncer, 2021/08/25
- [nongnu] elpa/caml 6b24877 06/10: Fix the warning “‘view-mode-exit’ is not known to be defined”, ELPA Syncer, 2021/08/25
- [nongnu] elpa/caml 742a910 01/10: Get the synopsis from caml.el,
ELPA Syncer <=
- [nongnu] elpa/caml 3b6913e 10/10: Improve the instructions to install, ELPA Syncer, 2021/08/25
- [nongnu] elpa/caml 5231413 02/10: Update the regexp for OCaml errors, ELPA Syncer, 2021/08/25
- [nongnu] elpa/caml a95aaca 03/10: [fix] Update the regexp for OCaml errors, ELPA Syncer, 2021/08/25
- [nongnu] elpa/caml 97211bf 07/10: Remove all mentions of XEmacs, ELPA Syncer, 2021/08/25
- [nongnu] elpa/caml f0c0c50 04/10: [fix] Reconcile how to get the synopsis from caml.el, ELPA Syncer, 2021/08/25
- [nongnu] elpa/caml 7d6b256 09/10: Add a link to the home page of NonGNU ELPA, ELPA Syncer, 2021/08/25
- [nongnu] elpa/caml 061c561 08/10: Add a badge for NonGNU ELPA, ELPA Syncer, 2021/08/25
- [nongnu] elpa/caml 419a950 05/10: Fix the warning “reference to free variable ‘Info-directory-list’”, ELPA Syncer, 2021/08/25