[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transient f4790969fe 312/366: make: Add stats target
From: |
Jonas Bernoulli |
Subject: |
[elpa] externals/transient f4790969fe 312/366: make: Add stats target |
Date: |
Tue, 25 Jan 2022 18:54:50 -0500 (EST) |
branch: externals/transient
commit f4790969fe9ed0084be537ed476e9292d1e92244
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
make: Add stats target
---
.gitignore | 1 +
Makefile | 4 ++++
default.mk | 4 ++++
docs/Makefile | 5 +++++
4 files changed, 14 insertions(+)
diff --git a/.gitignore b/.gitignore
index 668ffb9639..3578139fdf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@
/docs/*.info
/docs/*.pdf
/docs/dir
+/docs/stats/
/docs/transient/
/lisp/*.elc
/lisp/transient-autoloads.el
diff --git a/Makefile b/Makefile
index 7f5ab43734..db38d2cdd6 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,7 @@ help:
$(info make html - generate html manual file)
$(info make html-dir - generate html manual directory)
$(info make pdf - generate pdf manual)
+ $(info make stats - generate statistics)
$(info make publish - publish snapshot manuals)
$(info make release - publish release manuals)
$(info make clean - remove most generated files)
@@ -40,6 +41,9 @@ html-dir:
pdf:
@$(MAKE) -C docs pdf
+stats:
+ @$(MAKE) -C docs stats
+
publish:
@$(MAKE) -C docs publish
diff --git a/default.mk b/default.mk
index 1d4fd17636..6977ea0a27 100644
--- a/default.mk
+++ b/default.mk
@@ -1,3 +1,5 @@
+TOP := $(dir $(lastword $(MAKEFILE_LIST)))
+
PKG = transient
ELS = $(PKG).el
@@ -21,3 +23,5 @@ endif
INSTALL_INFO ?= $(shell command -v ginstall-info || printf install-info)
MAKEINFO ?= makeinfo
MANUAL_HTML_ARGS ?= --css-ref /assets/page.css
+
+STATS_DIR ?= $(TOP)docs/stats
diff --git a/docs/Makefile b/docs/Makefile
index 86573aa253..ae2a4f5287 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -60,6 +60,11 @@ html-dir: $(PKG).texi
@printf "Generating $@\n"
@texi2pdf --clean $< > /dev/null
+.PHONY: stats
+stats:
+ @printf "Generating statistics\n"
+ @gitstats -c style=https://magit.vc/assets/stats.css -c max_authors=999
$(TOP) $(STATS_DIR)
+
DOMAIN ?= magit.vc
PUBLISH_PATH ?= /manual/
RELEASE_PATH ?= /manual/$(VERSION)/
- [elpa] externals/transient 6e741ee2bd 260/366: Stop using oref-default to get default value of object-allocated slot, (continued)
- [elpa] externals/transient 6e741ee2bd 260/366: Stop using oref-default to get default value of object-allocated slot, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 90a0562200 265/366: transient-highlight-higher-levels: New option, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 769219b5f5 272/366: Enable section movement, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 626d105ecf 274/366: transient--read-number-N: Return empty string instead of nil, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 57942fe961 280/366: manual: No longer depend on the ox-extra package, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient badebdd1c1 288/366: Set local checkdoc-symbol-words, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 7976562a3c 291/366: Sharp-quote functions, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 74cba5a418 296/366: Release version 0.3.7, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient df1ba0f144 301/366: transient-show-help: Cosmetics, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient ea5ac99ffc 303/366: transient-show-help: Support per-object help functions, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient f4790969fe 312/366: make: Add stats target,
Jonas Bernoulli <=
- [elpa] externals/transient 28491e1f8e 321/366: Properly deal with stealth undefined command, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient 143a13938c 323/366: transient-infix-read: Always enable-recursive-minibuffers, Jonas Bernoulli, 2022/01/25
- [elpa] externals/transient f2e0dfcc4b 330/366: transient--get-predicate-for: Ignore error in transient--suffix-symbol, Jonas Bernoulli, 2022/01/25