aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c96113f..6ba81ba 100644
--- a/Makefile
+++ b/Makefile
@@ -120,13 +120,14 @@ install: build ## install binary, calendar data, language tables, templates, sch
@mkdir -p $(MAN5DIR)
install -m 644 man/colitur-overlay.5 $(MAN5DIR)/colitur-overlay.5
install -m 644 man/colitur-templates.5 $(MAN5DIR)/colitur-templates.5
+ install -m 644 man/colitur-config.5 $(MAN5DIR)/colitur-config.5
@echo "installed $(BINDIR)/$(COLITUR), data in $(PREFIX)/share/colitur/{ef,lang,templates,schema}, man pages in $(MANDIR) and $(MAN5DIR)"
@command -v $(COLITUR) >/dev/null 2>&1 || \
echo "note: $(BINDIR) is not on PATH -- add it, or run $(BINDIR)/$(COLITUR) directly"
uninstall: ## remove everything install put into PREFIX
-$(DUNE) dune uninstall --prefix $(PREFIX)
- rm -f $(MANDIR)/colitur.1 $(MAN5DIR)/colitur-overlay.5 $(MAN5DIR)/colitur-templates.5
+ rm -f $(MANDIR)/colitur.1 $(MAN5DIR)/colitur-overlay.5 $(MAN5DIR)/colitur-templates.5 $(MAN5DIR)/colitur-config.5
@echo "removed $(COLITUR) from $(PREFIX)"
reinstall: uninstall install ## uninstall then install (the installed copy is a snapshot, not a link)
@@ -135,11 +136,13 @@ man: ## preview the man pages
man -l man/colitur.1
man -l man/colitur-overlay.5
man -l man/colitur-templates.5
+ man -l man/colitur-config.5
doc: ## lint the man pages (groff warnings; silence means clean)
groff -man -Tutf8 -ww -z man/colitur.1
groff -man -Tutf8 -ww -z man/colitur-overlay.5
groff -man -Tutf8 -ww -z man/colitur-templates.5
+ groff -man -Tutf8 -ww -z man/colitur-config.5
fmt: ## format the OCaml sources
$(DUNE) dune build @fmt --auto-promote