1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Prepend $(top_builddir) to @INSTALL@ if it is relative.

Reported to elinks-users on 2006-08-23.
This commit is contained in:
Kalle Olavi Niemitalo 2006-09-10 08:57:55 +03:00 committed by Kalle Olavi Niemitalo
parent d1fb65120d
commit 57a9871ea1

View File

@ -38,7 +38,10 @@ ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@ AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@ AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@ # The INSTALL substituted by configure can be either absolute or
# relative to the top build directory. Adjust it so that it can
# be used in build subdirectories.
INSTALL = $(if $(patsubst /%,,$(firstword @INSTALL@)),$(top_builddir)/)@INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@