mirror of https://github.com/nirenjan/libx52.git
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
parent
794b09e766
commit
aef1b6fade
|
@ -10,7 +10,6 @@ brew install \
|
||||||
libusb \
|
libusb \
|
||||||
hidapi \
|
hidapi \
|
||||||
doxygen \
|
doxygen \
|
||||||
rsync \
|
|
||||||
cmocka
|
cmocka
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -13,7 +13,6 @@ sudo apt-get install -y \
|
||||||
libhidapi-dev \
|
libhidapi-dev \
|
||||||
libevdev-dev \
|
libevdev-dev \
|
||||||
doxygen \
|
doxygen \
|
||||||
rsync \
|
|
||||||
libcmocka-dev \
|
libcmocka-dev \
|
||||||
faketime
|
faketime
|
||||||
|
|
||||||
|
|
14
INSTALL.md
14
INSTALL.md
|
@ -15,10 +15,10 @@ Build has been tested on the following operating systems (x86-64 only):
|
||||||
* autoconf
|
* autoconf
|
||||||
* autopoint
|
* autopoint
|
||||||
* gettext
|
* gettext
|
||||||
* hidapi
|
* hidapi + headers
|
||||||
* libtool
|
* libtool
|
||||||
* libusb-1.0 + headers
|
* libusb-1.0 + headers
|
||||||
* libevdev (on Linux)
|
* libevdev + headers (on Linux)
|
||||||
* pkg-config
|
* pkg-config
|
||||||
* python3 (3.6 or greater)
|
* python3 (3.6 or greater)
|
||||||
* git (not required for builds, but necessary to clone the repository)
|
* 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` |
|
| 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` |
|
| 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` |
|
| 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
|
## Optional Packages
|
||||||
|
|
||||||
If you want to generate HTML documentation for the library, and manpages for
|
* doxygen - to generate HTML documentation and man pages
|
||||||
the utilities, you will need the following packages:
|
* libcmocka (1.1 or greater) + headers - to run unit tests
|
||||||
|
|
||||||
* doxygen
|
|
||||||
* rsync
|
|
||||||
|
|
||||||
You will also need the `cmocka` package to run the unit tests.
|
|
||||||
|
|
||||||
# Installation Instructions
|
# Installation Instructions
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ $(man1_MANS): docs/.stamp
|
||||||
# Install Doxygen generated HTML documentation and manpages
|
# Install Doxygen generated HTML documentation and manpages
|
||||||
install-data-local:
|
install-data-local:
|
||||||
$(INSTALL) -d $(DESTDIR)$(docdir)
|
$(INSTALL) -d $(DESTDIR)$(docdir)
|
||||||
rsync -rlp $(top_builddir)/docs/html $(DESTDIR)$(docdir)
|
cp -R -P $(top_builddir)/docs/html $(DESTDIR)$(docdir)
|
||||||
|
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
rm -rf $(DESTDIR)$(docdir)
|
rm -rf $(DESTDIR)$(docdir)
|
||||||
|
|
Loading…
Reference in New Issue