Use cp -a instead of cp -ar.

According to Linux man, `-r` and `-R` are synonims and `-a` implies `-R`.
However, FreeBSD `cp` errors out when both `-r` and `-a` are given.
This fixes `make install` on FreeBSD.

Signed-off-by: Gleb Popov <6yearold@gmail.com>
Change-Id: I5b325eb654ca52ad0f988e777c5bf5447d385ab5
This commit is contained in:
Gleb Popov 2021-11-26 17:56:22 +03:00 committed by Andras Timar
parent 2f8468c967
commit 63cf19a399

View file

@ -640,7 +640,7 @@ $(DIST_FOLDER)/admin/%: $(srcdir)/admin/%
install-data-hook:
mkdir -p $(DESTDIR)$(pkgdatadir)/browser; \
cp -ar dist/ $(DESTDIR)$(pkgdatadir)/browser/;
cp -a dist/ $(DESTDIR)$(pkgdatadir)/browser/;
libs:
@mkdir -p $(abs_srcdir)/libs