From 8f6db46489eea5ba796e5ce93aded84b0a24c621 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 10 Apr 2021 08:06:37 -0400 Subject: [PATCH] Install documentation to .../doc/pdfio. --- Makefile | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e649daa..d4307e2 100644 --- a/Makefile +++ b/Makefile @@ -83,8 +83,8 @@ install: $(TARGETS) -mkdir -p $(DESTDIR)$(prefix)/lib/pkgconfig echo '"prefix="$(prefix)"' >>$(DESTDIR)$(prefix)/lib/pkgconfig/pdfio.pc cat pdfio.pc.in >$(DESTDIR)$(prefix)/lib/pkgconfig/pdfio.pc - -mkdir -p $(DESTDIR)$(prefix)/share/doc - cp pdfio.html LICENSE NOTICE $(DESTDIR)$(prefix)/share/doc + -mkdir -p $(DESTDIR)$(prefix)/share/doc/pdfio + cp pdfio.html LICENSE NOTICE $(DESTDIR)$(prefix)/share/doc/pdfio -mkdir -p $(DESTDIR)$(prefix)/share/man/man3 cp pdfio.3 LICENSE NOTICE $(DESTDIR)$(prefix)/share/man/man3 diff --git a/README.md b/README.md index 03f02e2..d6f9efa 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ to make to install it to another location: The makefile installs the pdfio header to "${prefix}/include", the library to "${prefix}/lib", the `pkg-config` file to "${prefix}/lib/pkgconfig", the man page to "${prefix}/share/man/man3", and the documentation to -"${prefix}/share/doc". +"${prefix}/share/doc/pdfio". The makefile supports the following variables that can be specified in the make command or as environment variables: