forked from emacscollective/epkg
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.mk
43 lines (33 loc) · 998 Bytes
/
default.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
TOP := $(dir $(lastword $(MAKEFILE_LIST)))
PKG = epkg
ELS = $(PKG).el
ELS += $(PKG)-desc.el
ELS += $(PKG)-elpa.el
ELS += $(PKG)-list.el
ELS += $(PKG)-org.el
ELS += $(PKG)-schemata.el
ELS += $(PKG)-utils.el
ELCS = $(ELS:.el=.elc)
DEPS = closql
DEPS += compat
DEPS += emacsql
DEPS += llama
# Optional:
DEPS += magit/lisp
DOMAIN ?= emacsmirror.net
CFRONT_DIST ?= E1IXJGPIOM4EUW
VERSION ?= $(shell test -e $(TOP).git && git describe --tags --abbrev=0 | cut -c2-)
REVDESC := $(shell test -e $(TOP).git && git describe --tags)
EMACS ?= emacs
EMACS_ARGS ?=
LOAD_PATH ?= $(addprefix -L ../../,$(DEPS))
LOAD_PATH += -L .
ifndef ORG_LOAD_PATH
ORG_LOAD_PATH = -L ../../org/lisp
endif
INSTALL_INFO ?= $(shell command -v ginstall-info || printf install-info)
MAKEINFO ?= makeinfo
MANUAL_HTML_ARGS ?= --css-ref /assets/page.css
GITSTATS ?= gitstats
GITSTATS_DIR ?= $(TOP)docs/stats
GITSTATS_ARGS ?= -c style=https://magit.vc/assets/stats.css -c max_authors=999