Skip to content

Commit

Permalink
reincarnation commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Apr 16, 2016
0 parents commit 99df36a
Show file tree
Hide file tree
Showing 11 changed files with 2,955 additions and 0 deletions.
1 change: 1 addition & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
((nil . ((indent-tabs-mode . nil))))
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.info
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# -*- mode: org -*-

* 1.0.0 20160415

Reincarnation release.
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

96 changes: 96 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
-include config.mk

ELS = epkg.el
ELS += epkg-desc.el
ELS += epkg-list.el
ELCS = $(ELS:.el=.elc)

DEPS = closql
DEPS += dash
DEPS += emacsql
DEPS += finalize

LOADDEFS = epkg-autoloads.el

EMACS ?= emacs
EFLAGS ?=
DFLAGS ?= $(addprefix -L ../,$(DEPS))
MFLAGS ?= -L ../org/lisp -L ../ox-texinfo+

INFOPAGES = epkg.info
MAKEINFO ?= makeinfo --no-split
INSTALL_INFO ?= $(shell command -v ginstall-info || printf install-info)

.PHONY: help texi clean

all: lisp info

help:
$(info make all - generate lisp and manual)
$(info make lisp - generate byte-code and loaddefs)
$(info make info - generate manual)
$(info make texi - generate (tracked) texi file)
$(info make clean - remove generated files)
@printf "\n"

lisp: $(ELCS) loaddefs

epkg.elc:
epkg-desc.elc: epkg.elc
epkg-list.elc: epkg.elc

%.elc: %.el
@printf "Compiling $<\n"
@$(EMACS) -Q --batch $(EFLAGS) -L . $(DFLAGS) -f batch-byte-compile $<

loaddefs: $(LOADDEFS)

define LOADDEFS_TMPL
;;; $(LOADDEFS) --- automatically extracted autoloads
;;
;;; Code:
(add-to-list 'load-path (directory-file-name \
(or (file-name-directory #$$) (car load-path))))

;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
;; End:
;;; $(LOADDEFS) ends here
endef
export LOADDEFS_TMPL
#'

$(LOADDEFS): $(ELS)
@printf "Generating $@\n"
@printf "%s" "$$LOADDEFS_TMPL" > $@
@$(EMACS) -Q --batch --eval "(progn\
(setq make-backup-files nil)\
(setq vc-handled-backends nil)\
(setq default-directory (file-truename default-directory))\
(setq generated-autoload-file (expand-file-name \"$@\"))\
(setq find-file-visit-truename t)\
(update-directory-autoloads default-directory)))"

info: $(INFOPAGES) dir

%.info: %.texi
@printf "Generating $@\n"
@$(MAKEINFO) $< -o $@

texi:
@printf "Generating epkg.texi\n"
@$(EMACS) -Q --batch $(EFLAGS) $(DFLAGS)
-l ox-texinfo+.el epkg.org \
-f org-texinfo+export-to-texinfo
@echo >> epkg.texi
@rm -f epkg.texi~

dir: $(INFOPAGES)
@printf "Generating $@\n"
@$(INSTALL_INFO) $< --dir=$@

clean:
@printf "Cleaning...\n"
@rm -f $(ELCS) $(LOADDEFS) $(INFOPAGES)
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Browse the Emacsmirror package database
=======================================

This package provides access to a local copy of the [Emacsmirror]
package database. It provides low-level functions for querying the
database and a `package.el`-like user interface for browsing the
available packages.

The Emacsmirror is a growing collection of Emacs Lisp packages. All
mirrored packages are available as Git repositories. In most cases
this is done by mirroring the upstream Git repository, but if upstream
uses something else, then the mirror nevertheless makes the package
available as a Git repository.

One primary purpose of the Emacsmirror is to provide a comprehensive
list of available Emacs packages, including packages which have gone
out of fashion (but might later prove to be useful still).

For more information see the [manual] and the [Emacsmirror].

[emacsmirror]: https://emacsmirror.net
[manual]: https://emacsmirror.net/manual/epkg
Loading

0 comments on commit 99df36a

Please sign in to comment.