File tree 4 files changed +14
-0
lines changed
4 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 4
4
/docs /* .pdf
5
5
/docs /dir
6
6
/docs /forge /
7
+ /docs /stats /
7
8
/lisp /forge-autoloads.el
Original file line number Diff line number Diff line change 14
14
$(info make html - generate html manual file)
15
15
$(info make html-dir - generate html manual directory)
16
16
$(info make pdf - generate pdf manual)
17
+ $(info make stats - generate statistics)
17
18
$(info make publish - publish snapshot manuals)
18
19
$(info make release - publish release manuals)
19
20
$(info make clean - remove most generated files)
@@ -40,6 +41,9 @@ html-dir:
40
41
pdf :
41
42
@$(MAKE ) -C docs pdf
42
43
44
+ stats :
45
+ @$(MAKE ) -C docs stats
46
+
43
47
publish :
44
48
@$(MAKE ) -C docs publish
45
49
Original file line number Diff line number Diff line change
1
+ TOP := $(dir $(lastword $(MAKEFILE_LIST ) ) )
2
+
1
3
PKG = forge
2
4
3
5
ELS += $(PKG ) -db.el
49
51
INSTALL_INFO ?= $(shell command -v ginstall-info || printf install-info)
50
52
MAKEINFO ?= makeinfo
51
53
MANUAL_HTML_ARGS ?= --css-ref /assets/page.css
54
+
55
+ STATS_DIR ?= $(TOP ) docs/stats
Original file line number Diff line number Diff line change @@ -60,6 +60,11 @@ html-dir: $(PKG).texi
60
60
@printf " Generating $@ \n"
61
61
@texi2pdf --clean $< > /dev/null
62
62
63
+ .PHONY : stats
64
+ stats :
65
+ @printf " Generating statistics\n"
66
+ @gitstats -c style=https://magit.vc/assets/stats.css -c max_authors=999 $(TOP ) $(STATS_DIR )
67
+
63
68
DOMAIN ?= magit.vc
64
69
PUBLISH_PATH ?= /manual/
65
70
RELEASE_PATH ?= /manual/$(VERSION ) /
You can’t perform that action at this time.
0 commit comments