From: Ian Jackson Date: Wed, 29 Dec 2021 02:01:57 +0000 (+0000) Subject: Makefile: Provide [un]install-docs X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=fdb7ea44243dd6e25dc9cc70b6dab8c4d2f18640;p=userv.git Makefile: Provide [un]install-docs We provide "make docs", so it should be "install-docs", not "install-doc". Retain the old target for compatibility. Signed-off-by: Ian Jackson --- diff --git a/Makefile.in b/Makefile.in index 35a405f..1ed5c0b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -91,7 +91,7 @@ install: all install-strip: $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install -install-doc: $(TARGETS_DOC) +install-doc install-docs: $(TARGETS_DOC) $(INSTALL) -d -m 2755 $(addprefix $(DESTDIR), \ $(docdir) $(docdir)/spec.html \ $(mandir) $(man1dir) $(man8dir) \ @@ -105,7 +105,7 @@ install-doc: $(TARGETS_DOC) uninstall: rm -f $(bindir)/userv $(sbindir)/uservd -uninstall-doc: +uninstall-doc uninstall-docs: cd $docdir && rm -rf $(TARGETS_DOC_RM) check: