Install documentation to .../doc/pdfio.

This commit is contained in:
Michael R Sweet 2021-04-10 08:06:37 -04:00
parent 7a6659038b
commit 8f6db46489
No known key found for this signature in database
GPG Key ID: 999559A027815955
2 changed files with 3 additions and 3 deletions

View File

@ -83,8 +83,8 @@ install: $(TARGETS)
-mkdir -p $(DESTDIR)$(prefix)/lib/pkgconfig -mkdir -p $(DESTDIR)$(prefix)/lib/pkgconfig
echo '"prefix="$(prefix)"' >>$(DESTDIR)$(prefix)/lib/pkgconfig/pdfio.pc echo '"prefix="$(prefix)"' >>$(DESTDIR)$(prefix)/lib/pkgconfig/pdfio.pc
cat pdfio.pc.in >$(DESTDIR)$(prefix)/lib/pkgconfig/pdfio.pc cat pdfio.pc.in >$(DESTDIR)$(prefix)/lib/pkgconfig/pdfio.pc
-mkdir -p $(DESTDIR)$(prefix)/share/doc -mkdir -p $(DESTDIR)$(prefix)/share/doc/pdfio
cp pdfio.html LICENSE NOTICE $(DESTDIR)$(prefix)/share/doc cp pdfio.html LICENSE NOTICE $(DESTDIR)$(prefix)/share/doc/pdfio
-mkdir -p $(DESTDIR)$(prefix)/share/man/man3 -mkdir -p $(DESTDIR)$(prefix)/share/man/man3
cp pdfio.3 LICENSE NOTICE $(DESTDIR)$(prefix)/share/man/man3 cp pdfio.3 LICENSE NOTICE $(DESTDIR)$(prefix)/share/man/man3

View File

@ -44,7 +44,7 @@ to make to install it to another location:
The makefile installs the pdfio header to "${prefix}/include", the library to The makefile installs the pdfio header to "${prefix}/include", the library to
"${prefix}/lib", the `pkg-config` file to "${prefix}/lib/pkgconfig", the man "${prefix}/lib", the `pkg-config` file to "${prefix}/lib/pkgconfig", the man
page to "${prefix}/share/man/man3", and the documentation to 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 The makefile supports the following variables that can be specified in the make
command or as environment variables: command or as environment variables: