install.mk: add $(Q) + force gzip update of man-pages.

This commit is contained in:
Philippe Pittoli 2024-12-02 18:32:58 +01:00
parent c4456d3b8d
commit 09354d8e6d

View File

@ -5,19 +5,19 @@ SHAREDIR ?= $(PREFIX)/share
DOCDIR ?= $(SHAREDIR)/doc/authd
MANDIR ?= $(SHAREDIR)/man
install-authd: build-server ; install -D -m 555 ./bin/authd $(DESTDIR)$(BINDIR)/authd
install-authc: build-client ; install -D -m 555 ./bin/authc $(DESTDIR)$(BINDIR)/authc
install-authd: build-server ; $(Q)install -D -m 555 ./bin/authd $(DESTDIR)$(BINDIR)/authd
install-authc: build-client ; $(Q)install -D -m 555 ./bin/authc $(DESTDIR)$(BINDIR)/authc
install-binaries: install-authd install-authc
gz-man-authd:; gzip -k --best ./man/authd.1
gz-man-authc:; gzip -k --best ./man/authc.1
gz-man-authd:; $(Q)gzip -k -f --best ./man/authd.1
gz-man-authc:; $(Q)gzip -k -f --best ./man/authc.1
install-man-authd: gz-man-authd ; install -D -m 444 ./man/authd.1.gz $(DESTDIR)$(MANDIR)/man1/authd.1.gz
install-man-authc: gz-man-authc ; install -D -m 444 ./man/authc.1.gz $(DESTDIR)$(MANDIR)/man1/authc.1.gz
install-man-authd: gz-man-authd ; $(Q)install -D -m 444 ./man/authd.1.gz $(DESTDIR)$(MANDIR)/man1/authd.1.gz
install-man-authc: gz-man-authc ; $(Q)install -D -m 444 ./man/authc.1.gz $(DESTDIR)$(MANDIR)/man1/authc.1.gz
install-man: install-man-authd install-man-authc
doc:; crystal docs
install-dev-doc: doc ; install -D docs/ $(DESTDIR)$(DOCDIR)
install-dev-doc: doc ; $(Q)install -D docs/ $(DESTDIR)$(DOCDIR)
# By default, dev documentation isn't installed.
install: install-binaries install-man #install-dev-doc