Use autoconf AC_PROG_INSTALL results

Instead of hand-written INSTALL_{DATA,PROG}. autoconf "does the right
thing" to provide a command which works as expected.

See
  https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Particular-Programs.html#index-AC_005fPROG_005fINSTALL-269
Gabriel Scherer 2020-04-17 09:47:01 +02:00 committed by David Allsopp
parent 3a40b2fd94
commit be6eb2ccda
1 changed files with 2 additions and 2 deletions

View File

@ -21,5 +21,5 @@
include $(ROOTDIR)/Makefile.config
INSTALL ?= @INSTALL@
INSTALL_DATA ?= $(INSTALL) -m u=rw,g=rw,o=r
INSTALL_PROG ?= $(INSTALL) -m u=rwx,g=rwx,o=rx
INSTALL_DATA ?= @INSTALL_DATA@
INSTALL_PROG ?= @INSTALL_PROGRAM@