mirror of https://github.com/nirenjan/libx52.git
Fix install error on macOS when doxygen is found
The `install` command on macOS does not support the `-D` flag. It is not required anyway, since the directory components are created by the previous line. This commit also updates the options to rsync to not copy in 'archive' mode. Because it is used in `make install`, it is likely to be run as root, and therefore, the root user should own the files in the destination directory.pull/26/head
parent
53f9c33ffa
commit
4f39078998
|
@ -43,10 +43,10 @@ clean-local:
|
||||||
# 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 -a $(top_builddir)/docs/html $(DESTDIR)$(docdir)
|
rsync -rlp $(top_builddir)/docs/html $(DESTDIR)$(docdir)
|
||||||
|
|
||||||
$(INSTALL) -d $(DESTDIR)$(mandir)/man1
|
$(INSTALL) -d $(DESTDIR)$(mandir)/man1
|
||||||
$(INSTALL) -D docs/man/man1/x52cli.1 $(DESTDIR)$(mandir)/man1
|
$(INSTALL) docs/man/man1/x52cli.1 $(DESTDIR)$(mandir)/man1
|
||||||
|
|
||||||
uninstall-local:
|
uninstall-local:
|
||||||
rm -rf $(DESTDIR)$(docdir)
|
rm -rf $(DESTDIR)$(docdir)
|
||||||
|
|
Loading…
Reference in New Issue