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:
* libx52
* x52test
- Doxygen generation of HTML documentation for libx52 methods.
### Changed
- libx52_init no longer fails when a supported joystick is not connected.

View File

@ -38,4 +38,7 @@ CLEANFILES = docs
all-local: docs/.stamp
clean-local:
rm -rf $(top_builddir)/docs
install-data-local:
$(INSTALL) -d $(DESTDIR)$(docdir)
rsync -a $(top_builddir)/docs/html $(DESTDIR)$(docdir)
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 want to generate HTML documentation for the library, you will need the
following packages:
* doxygen
* rsync
## Installation
1. Clone the repository