From 86281750e5f1760efdad6bdb5c3225b9d6cd07dc Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 4 Dec 2023 08:50:28 -0500 Subject: [PATCH] Fix man page installation to use mandir (Issue #55) --- Makefile.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index f5bcf4e..fb1a25f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -155,9 +155,9 @@ install: $(TARGETS) for file in doc/pdfio.html doc/pdfio-512.png LICENSE NOTICE; do \ $(INSTALL) -c -m 644 $$file $(BUILDROOT)$(datadir)/doc/pdfio; \ done - echo Installing man page to $(BUILDROOT)$(datadir)/man/man3... - $(INSTALL) -d -m 755 $(BUILDROOT)$(datadir)/man/man3 - $(INSTALL) -c -m 644 doc/pdfio.3 $(BUILDROOT)$(datadir)/man/man3 + echo Installing man page to $(BUILDROOT)$(mandir)/man3... + $(INSTALL) -d -m 755 $(BUILDROOT)$(mandir)/man3 + $(INSTALL) -c -m 644 doc/pdfio.3 $(BUILDROOT)$(mandir)/man3 # Test everything