[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swsw 8b8c353938 143/146: ; Generate swsw-pkg.el' automatic
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swsw 8b8c353938 143/146: ; Generate swsw-pkg.el' automatically |
Date: |
Wed, 25 May 2022 02:59:57 -0400 (EDT) |
branch: elpa/swsw
commit 8b8c35393876499cc508c3593b85eab3d919f4fb
Author: Daniel Semyonov <daniel@dsemy.com>
Commit: Daniel Semyonov <daniel@dsemy.com>
; Generate swsw-pkg.el' automatically
---
.gitignore | 1 +
Makefile | 19 +++++++++++++++++--
swsw-pkg.el | 9 ---------
3 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/.gitignore b/.gitignore
index 497a4f8ee4..41fe4ae967 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,4 +3,5 @@
dir
*.tar
swsw
+swsw-pkg.el
*~
diff --git a/Makefile b/Makefile
index a8728245c5..db4664339e 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,22 @@ dir: $(PKG).info
info: $(PKG).info dir
-$(PKG)-$(VERSION).tar: $(PKG).info dir *.el LICENSE
+$(PKG)-pkg.el: $(PKG).el
+ sed -n -e 's/.* --- /(define-package "$(PKG)" "$(VERSION)" "/' \
+ -e 's/ -\*- lexical-binding: t -\*-/"/p' \
+ -e "s/;; Package-Requires: / '/p" \
+ -e 's/, /" "/' -e 's/;; Keywords: / :keywords ("/p' $? \
+ | sed '$$s/$$/")/' > $@
+ sed -n -e 's/ </" . "/' -e 's/>/"))/' \
+ -e 's/;; Author: / :authors (("/p' $? \
+ >> $@
+ sed -n -e 's/ </" . "/' -e 's/>/")/' \
+ -e 's/;; Maintainer: / :maintainer ("/p' \
+ -e 's/;; URL: / :url "/p' $? \
+ | sed '$$s/$$/")\n;; Local Variables:\n;; no-byte-compile: t\n;;
end:/' \
+ >> $@
+
+$(PKG)-$(VERSION).tar: $(PKG).info dir $(PKG)-pkg.el *.el LICENSE
mkdir $(PKG)-$(VERSION)
cp -a $? $(PKG)-$(VERSION)/
$(TAR) -cf $@ $(PKG)-$(VERSION)
@@ -29,4 +44,4 @@ $(PKG)-$(VERSION).tar: $(PKG).info dir *.el LICENSE
package: $(PKG)-$(VERSION).tar
clean:
- rm -f $(PKG).info dir $(PKG)-$(VERSION).tar
+ rm -f $(PKG).info dir $(PKG)-pkg.el $(PKG)-$(VERSION).tar
diff --git a/swsw-pkg.el b/swsw-pkg.el
deleted file mode 100644
index f2f319e152..0000000000
--- a/swsw-pkg.el
+++ /dev/null
@@ -1,9 +0,0 @@
-(define-package "swsw" "2.1" "Simple window switching"
- '((emacs "25.1"))
- :keywords ("convenience")
- :authors (("Daniel Semyonov" . "daniel@dsemy.com"))
- :maintainer ("Daniel Semyonov" . "daniel@dsemy.com")
- :url "https://dsemy.com/projects/swsw")
-;; Local Variables:
-;; no-byte-compile: t
-;; end:
- [nongnu] elpa/swsw 0d7bf97dbb 142/146: ; Prepare for NonGNU ELPA inclusion, (continued)
- [nongnu] elpa/swsw 0d7bf97dbb 142/146: ; Prepare for NonGNU ELPA inclusion, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 307b891692 127/146: ; Small fix in NEWS, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw c884983ae2 090/146: ; Fix makefile for OpenBSD, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw f66c043abc 067/146: Only call 'swsw-update' automatically when it's bound, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw dc4595546a 094/146: ; Change a message to a (more fitting in this context) user-error, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw b3e00165f2 073/146: ; Add latest changes to the NEWS file and indicate that 1.1.2 is WIP, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 69dfbd08de 083/146: ; Bump version to 2.0, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw dee158840a 100/146: ; Indicate that ELPA installation is not yet available, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 09bb140ee3 096/146: * swsw.el (swsw-update): Use 'dotimes' instead of 'while', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 300a4e8e61 084/146: * swsw.el (swsw-delete): Fix when the other tracked window is a minibuffer, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 8b8c353938 143/146: ; Generate swsw-pkg.el' automatically,
ELPA Syncer <=
- [nongnu] elpa/swsw 51b8c1eb7c 080/146: ; Update documentation according to latest changes, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 522bfb2da0 074/146: ; Add versioning scheme information to the NEWS file, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 92abfc5de4 119/146: ; Make some long lines short, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 910aea2c75 117/146: ; Declare all window commands should be called while 'swsw-mode' is active, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 862d945bdb 101/146: ; Ignore Emacs' backup files, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 0a3edee2e5 055/146: ; Bump version to 1.1.1 and update NEWS file, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw f9f64e0559 060/146: * swsw.el (swsw--get-id-length): Return 1 when there is one window tracked, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 07f26210e8 086/146: ; Add 'swsw-delete' fix to the NEWS file, ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw 8044341fdb 040/146: ; Update README to no longer suggest binding 'C-x o' in 'swsw-mode-map', ELPA Syncer, 2022/05/25
- [nongnu] elpa/swsw cec8c4aacc 110/146: ; Edit docstrings to conform completely to 'checkdoc', ELPA Syncer, 2022/05/25