Add install rule for Doxygen generated docs

debian-packaging
nirenjan 2020-05-26 16:16:54 -07:00
parent 973348e537
commit c86e3f027a
3 changed files with 10 additions and 0 deletions

View File

@ -12,6 +12,7 @@ The format is based upon [Keep a Changelog].
- Internationalization for the following: - Internationalization for the following:
* libx52 * libx52
* x52test * x52test
- Doxygen generation of HTML documentation for libx52 methods.
### Changed ### Changed
- libx52_init no longer fails when a supported joystick is not connected. - libx52_init no longer fails when a supported joystick is not connected.

View File

@ -38,4 +38,7 @@ CLEANFILES = docs
all-local: docs/.stamp all-local: docs/.stamp
clean-local: clean-local:
rm -rf $(top_builddir)/docs rm -rf $(top_builddir)/docs
install-data-local:
$(INSTALL) -d $(DESTDIR)$(docdir)
rsync -a $(top_builddir)/docs/html $(DESTDIR)$(docdir)
endif endif

View File

@ -39,6 +39,12 @@ You will need the following packages:
If you are on OSX, you can install the above packages using Homebrew If you are on OSX, you can install the above packages using Homebrew
If you want to generate HTML documentation for the library, you will need the
following packages:
* doxygen
* rsync
## Installation ## Installation
1. Clone the repository 1. Clone the repository