[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 112/119: add/use standard source headers
From: |
Eric Schulte |
Subject: |
[elpa] 112/119: add/use standard source headers |
Date: |
Mon, 10 Mar 2014 16:57:56 +0000 |
eschulte pushed a commit to branch master
in repository elpa.
commit 081413f5c91d033f58a68305e1a5a01aab0eb598
Author: Eric Schulte <address@hidden>
Date: Mon Feb 17 11:02:56 2014 -0700
add/use standard source headers
---
Makefile | 10 +++++-----
web-server.el | 5 ++++-
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index 889927d..33c3e4a 100644
--- a/Makefile
+++ b/Makefile
@@ -27,11 +27,12 @@ clean:
$(MAKE) -C doc/ $(MAKECMDGOALS)
# Packaging
+PARSE=grep "$(1):" web-server.el|sed 's/^.*$(1): //'
NAME=web-server
-VERSION=0.1.0
-DOC=Emacs Web Server
-REQ=((emacs "24.3"))
-DEFPKG=(define-package "$(NAME)" "$(VERSION)" "$(DOC)" (quote $(REQ)))
+VERSION=$(shell $(call PARSE,Version))
+DOC=$(shell head -1 web-server.el|sed 's/^.*--- //')
+REQ=$(shell $(call PARSE,Package-Requires))
+DEFPKG=(define-package "$(NAME)" "$(VERSION)"\n "$(DOC)"\n (quote $(REQ)))
PACKAGE=$(NAME)-$(VERSION)
$(PACKAGE): $(filter-out web-server-test.el, $(SRC)) doc/web-server.info
doc/dir
@@ -42,6 +43,5 @@ $(PACKAGE): $(filter-out web-server-test.el, $(SRC))
doc/web-server.info doc/dir
$(PACKAGE).tar: $(PACKAGE)
tar cf $@ $<
- rm -rf $<
package: $(PACKAGE).tar
diff --git a/web-server.el b/web-server.el
index 1943f95..04813b7 100644
--- a/web-server.el
+++ b/web-server.el
@@ -3,7 +3,10 @@
;; Copyright (C) 2013 Eric Schulte <address@hidden>
;; Author: Eric Schulte <address@hidden>
-;; Keywords: http
+;; Version: 0.1.0
+;; Package-Requires: ((emacs "24.3"))
+;; Keywords: http, server, network
+;; URL: https://github.com/eschulte/emacs-web-server
;; License: GPLV3 (see the COPYING file in this directory)
;;; Commentary:
- [elpa] 109/119: doc for new content/transfer encoding helpers, (continued)
- [elpa] 109/119: doc for new content/transfer encoding helpers, Eric Schulte, 2014/03/10
- [elpa] 110/119: automatically generate dir file w/install-info, Eric Schulte, 2014/03/10
- [elpa] 113/119: Fix WebSocket varint length encoding, Eric Schulte, 2014/03/10
- [elpa] 117/119: adding .elpaignore to keep extra file from package, Eric Schulte, 2014/03/10
- [elpa] 115/119: gnu elpa wants a "Maintainer:" pseudo-header, Eric Schulte, 2014/03/10
- [elpa] 114/119: dangerous example; web-socket comint shell buffer, Eric Schulte, 2014/03/10
- [elpa] 105/119: mention `make check' in README, Eric Schulte, 2014/03/10
- [elpa] 116/119: assign copyright to FSF, Eric Schulte, 2014/03/10
- [elpa] 111/119: Emacs packaging support with "make package", Eric Schulte, 2014/03/10
- [elpa] 118/119: README and install instructions mention GNU ELPA, Eric Schulte, 2014/03/10
- [elpa] 112/119: add/use standard source headers,
Eric Schulte <=
- [elpa] 119/119: Add 'packages/web-server/' from commit 'd0b6ae9df6014db2195da0081dc97cc8246f1fda', Eric Schulte, 2014/03/10