Commit 5b68a9af authored by Sean Whitton's avatar Sean Whitton

Merge tag 'v0.8'

Deft 0.8

# gpg: Signature made Fri 12 Jan 2018 12:58:35 PM MST
# gpg:                using DSA key 547BC1631D9CF4E8F2DAC1400FCBCEA77F569169
# gpg: Can't check signature: No public key
parents 1c8bc43c c4b30d78
......@@ -7,6 +7,9 @@ env:
- EVM_EMACS=emacs-24.3-travis
- EVM_EMACS=emacs-24.4-travis
- EVM_EMACS=emacs-24.5-travis
- EVM_EMACS=emacs-25.1-travis
- EVM_EMACS=emacs-25.2-travis
- EVM_EMACS=emacs-25.3-travis
script:
- emacs --version
- emacs -q -no-site-file -no-init-file -batch -f batch-byte-compile deft.el
......
EMACS=emacs
PACKAGE=deft
SOURCE=deft.el
COMPILED=deft.elc
VERSION=$(shell cat $(SOURCE) | sed -n 's/^;;; Version: \(.*\)/\1/p')
.el.elc:
$(EMACS) -q -no-site-file -no-init-file -batch -f batch-byte-compile $<
all: $(COMPILED) README.md
.PHONY: dist
README.md: $(SOURCE) readme.sh
./readme.sh
dist:
DIR=$$(mktemp -d -t "$(PACKAGE)"); \
DESTDIR="$$DIR/$(PACKAGE)-$(VERSION)"; \
mkdir -p $$DESTDIR; \
cp -a $(SOURCE) README.md $$DESTDIR; \
tar zcf $(CURDIR)/$(PACKAGE)-$(VERSION).tar.gz -C $$DIR "$(PACKAGE)-$(VERSION)"; \
rm -r $$DIR; \
echo "$(PACKAGE)-$(VERSION).tar.gz has been created"
update: $(COMPILED)
cp -a $(SOURCE) $(COMPILED) $(HOME)/.emacs.d/site-lisp
clean:
rm -f $(COMPILED) index.text
This diff is collapsed.
This diff is collapsed.
......@@ -5,8 +5,14 @@ STOPRE='^;;; Code:$'
DATE=$(date +"%B %e, %Y %H:%M %Z")
# Produce README.md for GitHub
echo "Deft for Emacs
==============
echo "# Deft for Emacs [![MELPA badge][melpa-badge]][melpa-link] [![MELPA stable badge][melpa-stable-badge]][melpa-stable-link] [![Travis CI Build Status][travis-badge]][travis-link]
[melpa-link]: https://melpa.org/#/deft
[melpa-stable-link]: https://stable.melpa.org/#/deft
[melpa-badge]: https://melpa.org/packages/deft-badge.svg
[melpa-stable-badge]: https://stable.melpa.org/packages/deft-badge.svg
[travis-link]: https://travis-ci.org/jrblevin/deft
[travis-badge]: https://travis-ci.org/jrblevin/deft.svg?branch=master
<!-- Automatically generated from comments in deft.el. -->" > README.md
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment