diff --git a/.github/scripts/install-dependencies-macos.sh b/.github/scripts/install-dependencies-macos.sh index eae1187..1600136 100755 --- a/.github/scripts/install-dependencies-macos.sh +++ b/.github/scripts/install-dependencies-macos.sh @@ -10,7 +10,6 @@ brew install \ libusb \ hidapi \ doxygen \ - rsync \ cmocka exit 0 diff --git a/.github/scripts/install-dependencies-ubuntu.sh b/.github/scripts/install-dependencies-ubuntu.sh index c0f6c08..1459f68 100755 --- a/.github/scripts/install-dependencies-ubuntu.sh +++ b/.github/scripts/install-dependencies-ubuntu.sh @@ -13,7 +13,6 @@ sudo apt-get install -y \ libhidapi-dev \ libevdev-dev \ doxygen \ - rsync \ libcmocka-dev \ faketime diff --git a/INSTALL.md b/INSTALL.md index 1680d67..8b20ec0 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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 diff --git a/Makefile.am b/Makefile.am index 005e5f1..8b80fe2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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)