summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/ChangeLog5
-rw-r--r--config/Makefile.am2
2 files changed, 6 insertions, 1 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index d3ecd6c6..c532f7e6 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2020-10-31 Dmitry V. Levin <ldv@altlinux.org>
+
+ * Makefile.am (install-data-local, uninstall-local): Conditionalize
+ on DEBUGINFOD.
+
2020-10-30 Mark Wielaard <mark@klomp.org>
* elfutils.spec.in: Update for 0.182.
diff --git a/config/Makefile.am b/config/Makefile.am
index e56f32a5..ef28dab6 100644
--- a/config/Makefile.am
+++ b/config/Makefile.am
@@ -36,7 +36,6 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libelf.pc libdw.pc
if DEBUGINFOD
pkgconfig_DATA += libdebuginfod.pc
-endif
install-data-local:
$(INSTALL_DATA) profile.sh -D $(DESTDIR)$(sysconfdir)/profile.d/debuginfod.sh
@@ -44,6 +43,7 @@ install-data-local:
uninstall-local:
rm -f $(DESTDIR)$(sysconfdir)/profile.d/debuginfod.sh $(DESTDIR)$(sysconfdir)/profile.d/debuginfod.csh
+endif
if MAINTAINER_MODE
$(srcdir)/elfutils.spec.in: $(top_srcdir)/NEWS