Skip to content

Commit

Permalink
add/use standard source headers
Browse files Browse the repository at this point in the history
  • Loading branch information
eschulte committed Feb 17, 2014
1 parent aac1fc4 commit 081413f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Makefile
Expand Up @@ -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
Expand All @@ -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
5 changes: 4 additions & 1 deletion web-server.el
Expand Up @@ -3,7 +3,10 @@
;; Copyright (C) 2013 Eric Schulte <schulte.eric@gmail.com>

;; Author: Eric Schulte <schulte.eric@gmail.com>
;; 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:
Expand Down

0 comments on commit 081413f

Please sign in to comment.