Remove rsync dependency and add Fedora packages

This change eliminates the dependency on rsync to copy the Doxygen
generated files, and instead falls back to using `cp -R -P`. Since the
generated HTML needs no special permissions, `cp` is more than
sufficient, and it's already installed on all Unix systems as a core
utility.
reverse-scroll
nirenjan 2021-09-22 23:35:27 -07:00
parent 794b09e766
commit aef1b6fade
4 changed files with 6 additions and 12 deletions

View File

@ -10,7 +10,6 @@ brew install \
libusb \
hidapi \
doxygen \
rsync \
cmocka
exit 0

View File

@ -13,7 +13,6 @@ sudo apt-get install -y \
libhidapi-dev \
libevdev-dev \
doxygen \
rsync \
libcmocka-dev \
faketime

View File

@ -15,10 +15,10 @@ Build has been tested on the following operating systems (x86-64 only):
* autoconf
* autopoint
* gettext
* hidapi
* hidapi + headers
* libtool
* libusb-1.0 + headers
* libevdev (on Linux)
* libevdev + headers (on Linux)
* pkg-config
* python3 (3.6 or greater)
* git (not required for builds, but necessary to clone the repository)
@ -30,16 +30,12 @@ Build has been tested on the following operating systems (x86-64 only):
| Ubuntu | `sudo apt-get install automake autoconf gettext autopoint libhidapi-dev libevdev-dev libtool libusb-1.0-0-dev pkg-config python3 git` |
| MacOS + Homebrew | `brew install automake autoconf gettext hidapi libtool libusb pkg-config python3 git` |
| Arch Linux | `pacman -S base-devel libusb hidapi libevdev python git` |
| Fedora | `sudo dnf install autoconf automake gettext-devel findutils libtool hidapi-devel libusb-devel libevdev-devel pkg-config python3 git` |
## Optional Packages
If you want to generate HTML documentation for the library, and manpages for
the utilities, you will need the following packages:
* doxygen
* rsync
You will also need the `cmocka` package to run the unit tests.
* doxygen - to generate HTML documentation and man pages
* libcmocka (1.1 or greater) + headers - to run unit tests
# Installation Instructions

View File

@ -64,7 +64,7 @@ $(man1_MANS): docs/.stamp
# Install Doxygen generated HTML documentation and manpages
install-data-local:
$(INSTALL) -d $(DESTDIR)$(docdir)
rsync -rlp $(top_builddir)/docs/html $(DESTDIR)$(docdir)
cp -R -P $(top_builddir)/docs/html $(DESTDIR)$(docdir)
uninstall-local:
rm -rf $(DESTDIR)$(docdir)