1
0
mirror of https://github.com/michaelrsweet/pdfio.git synced 2025-04-08 01:46:44 +02:00

Fix man page installation to use mandir (Issue )

This commit is contained in:
Michael R Sweet 2023-12-04 08:50:28 -05:00
parent d92b72ed02
commit 86281750e5
No known key found for this signature in database
GPG Key ID: BE67C75EC81F3244

@ -155,9 +155,9 @@ install: $(TARGETS)
for file in doc/pdfio.html doc/pdfio-512.png LICENSE NOTICE; do \ for file in doc/pdfio.html doc/pdfio-512.png LICENSE NOTICE; do \
$(INSTALL) -c -m 644 $$file $(BUILDROOT)$(datadir)/doc/pdfio; \ $(INSTALL) -c -m 644 $$file $(BUILDROOT)$(datadir)/doc/pdfio; \
done done
echo Installing man page to $(BUILDROOT)$(datadir)/man/man3... echo Installing man page to $(BUILDROOT)$(mandir)/man3...
$(INSTALL) -d -m 755 $(BUILDROOT)$(datadir)/man/man3 $(INSTALL) -d -m 755 $(BUILDROOT)$(mandir)/man3
$(INSTALL) -c -m 644 doc/pdfio.3 $(BUILDROOT)$(datadir)/man/man3 $(INSTALL) -c -m 644 doc/pdfio.3 $(BUILDROOT)$(mandir)/man3
# Test everything # Test everything