From 18c12b7a38f32b8f5d0bbf291268f79041bc89c0 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 2 Apr 2018 22:37:43 +0200 Subject: Support $(DESTDIR) as reported by Sergei Trofimovich * config.make.in (hurddir, libdir, bindir, sbindir, includedir, libexecdir, bootdir, infodir, sysconfdir, localstatedir, sharedstatedir, datadir, datarootdir): Prepend $(DESTDIR). --- config.make.in | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'config.make.in') diff --git a/config.make.in b/config.make.in index 7b62e851..cdd812e0 100644 --- a/config.make.in +++ b/config.make.in @@ -20,19 +20,19 @@ prefix = @prefix@ exec_prefix = @exec_prefix@ # Directories where things get installed. -hurddir = ${exec_prefix}/hurd -libdir = @libdir@ -bindir = @bindir@ -sbindir = @sbindir@ -includedir = @includedir@ -libexecdir = @libexecdir@ -bootdir = ${exec_prefix}/boot -infodir = @infodir@ -sysconfdir = @sysconfdir@ -localstatedir = @localstatedir@ -sharedstatedir = @sharedstatedir@ -datadir = @datadir@ -datarootdir = @datarootdir@ +hurddir = $(DESTDIR)${exec_prefix}/hurd +libdir = $(DESTDIR)@libdir@ +bindir = $(DESTDIR)@bindir@ +sbindir = $(DESTDIR)@sbindir@ +includedir = $(DESTDIR)@includedir@ +libexecdir = $(DESTDIR)@libexecdir@ +bootdir = $(DESTDIR)${exec_prefix}/boot +infodir = $(DESTDIR)@infodir@ +sysconfdir = $(DESTDIR)@sysconfdir@ +localstatedir = $(DESTDIR)@localstatedir@ +sharedstatedir = $(DESTDIR)@sharedstatedir@ +datadir = $(DESTDIR)@datadir@ +datarootdir = $(DESTDIR)@datarootdir@ # All of those directories together: installationdirlist = $(hurddir) $(libdir) $(bindir) $(sbindir) \ -- cgit v1.2.3