From 14eac28c32cc96dadfa6394e8eef923610f37555 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sun, 21 Apr 2013 18:28:38 +0200 Subject: [PATCH] Fix staged installs (DESTDIR). --- Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 4e80c72c1..d8f8dc4d1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -26,10 +26,10 @@ icinga2doc_DATA = \ NEWS install-data-local: - $(MKDIR_P) ${localstatedir}/log/${PACKAGE}/compat/archives - $(MKDIR_P) ${localstatedir}/cache/${PACKAGE} - $(MKDIR_P) ${localstatedir}/lib/${PACKAGE} - $(MKDIR_P) ${localstatedir}/run/${PACKAGE} + $(MKDIR_P) $(DESTDIR)${localstatedir}/log/${PACKAGE}/compat/archives + $(MKDIR_P) $(DESTDIR)${localstatedir}/cache/${PACKAGE} + $(MKDIR_P) $(DESTDIR)${localstatedir}/lib/${PACKAGE} + $(MKDIR_P) $(DESTDIR)${localstatedir}/run/${PACKAGE} EXTRA_DIST = $(icinga2doc_DATA) git_version.sh icinga2.spec -- 2.40.0