Skip to content

Commit

Permalink
make: Update stats target
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Dec 16, 2021
1 parent ba10946 commit aca50c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion default.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ 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
GITSTATS_DIR ?= $(TOP)docs/stats
GITSTATS_ARGS ?= -c style=https://magit.vc/assets/stats.css -c max_authors=999
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ html-dir: $(PKG).texi
.PHONY: stats
stats:
@printf "Generating statistics\n"
@gitstats -c style=https://magit.vc/assets/stats.css -c max_authors=999 $(TOP) $(STATS_DIR)
@gitstats $(GITSTATS_ARGS) $(TOP) $(GITSTATS_DIR)

PUBLISH_PATH ?= /manual/
RELEASE_PATH ?= /manual/$(VERSION)/
Expand Down

0 comments on commit aca50c6

Please sign in to comment.