branch: externals/window-commander commit 93814ae925f7476d78e39abdc6de49b9cd391424 Author: Daniel Semyonov <dan...@dsemy.com> Commit: Daniel Semyonov <dan...@dsemy.com>
; Fix swsw-pkg.el generation on OpenBSD --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index db4664339e..34fdfcb8ef 100644 --- a/Makefile +++ b/Makefile @@ -21,18 +21,19 @@ dir: $(PKG).info info: $(PKG).info dir $(PKG)-pkg.el: $(PKG).el - sed -n -e 's/.* --- /(define-package "$(PKG)" "$(VERSION)" "/' \ + echo ";;; -*- no-byte-compile: t -*-" > $@ + 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 '$$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:/' \ + | sed '$$s/$$/")/' \ >> $@ $(PKG)-$(VERSION).tar: $(PKG).info dir $(PKG)-pkg.el *.el LICENSE