diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2015-03-29 17:51:35 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2015-03-29 17:51:35 +0200 |
| commit | 35bc34161354d198ead15e6d8682f59febdbc8de (patch) | |
| tree | 798052b3bd9fa57cab792dc5af9414f464ed298c /Makefile | |
| parent | 93cd36319c7e3e494ffd8fd5c1cb8b490ca8feec (diff) | |
Makefile: add stats target
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -1,8 +1,10 @@ -PREFIX ?= /usr/local +PREFIX ?= /usr/local datarootdir ?= $(PREFIX)/share -lispdir ?= $(datarootdir)/emacs/site-lisp/magit -infodir ?= $(datarootdir)/info -docdir ?= $(datarootdir)/doc/magit +lispdir ?= $(datarootdir)/emacs/site-lisp/magit +infodir ?= $(datarootdir)/info +docdir ?= $(datarootdir)/doc/magit + +statsdir ?= $(HOME)/Repos/magit/page/stats LOADDEFS_FILE ?= magit-autoloads.el LOADDEFS_DIR ?= $(lispdir) @@ -112,6 +114,11 @@ help: $(info make authors - regenerate the AUTHORS.md file) $(info make dist - create old-school tarball) $(info make marmalade - create marmalade tarball) + $(info ) + $(info Web Page) + $(info ========) + $(info ) + $(info make stats - generate stats) @printf "\n" %.elc: %.el @@ -250,3 +257,8 @@ magit-$(VERSION).tar: $(ELPA_FILES) @$(CP) $(ELPA_FILES) magit-$(VERSION) @tar -c --mtime=./magit-$(VERSION) -f magit-$(VERSION).tar magit-$(VERSION) @$(RMDIR) magit-$(VERSION) + +.PHONY: stats +stats: + @printf "Generating stats\n" + @gitstats -c style=/css/stats.css -c max_authors=200 . $(statsdir) |
