summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2020-10-08 11:56:15 -0400
committerFrank Ch. Eigler <fche@redhat.com>2020-10-08 11:56:56 -0400
commitfee123fb771f46274dfc8260c00f5d3061de2cd2 (patch)
tree11634957eeb18bb4ae6d33f52f8157747736aaa2 /config
parent94708e9646017a7ef1c819df3b71bb1ddf8300fc (diff)
downloadelfutils-fee123fb771f46274dfc8260c00f5d3061de2cd2.tar.gz
PR25461: uninstall /etc/profile.d files for distuninstallcheck
No one uses "make uninstall" except the buildbot. Let's make it happy too. Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog6
-rw-r--r--config/Makefile.am3
2 files changed, 8 insertions, 1 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 9c31925f..f93bbfd7 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,7 +1,11 @@
+2020-10-08 Frank Ch. Eigler <fche@redhat.com>
+
+ * Makefile.am (uninstall-local): Uninstall the new profile.d files.
+
2020-10-01 Frank Ch. Eigler <fche@redhat.com>
PR25461
- * profile.sh.in, profile.csh.in: New files for /etc/profiles.d
+ * profile.sh.in, profile.csh.in: New files for /etc/profile.d
to define $DEBUGINFOD_URLS.
* elfutils.spec.in: Configure with --enable-debuginfod-urls.
* Makefile.am: Install them.
diff --git a/config/Makefile.am b/config/Makefile.am
index ae6ffc9b..e56f32a5 100644
--- a/config/Makefile.am
+++ b/config/Makefile.am
@@ -42,6 +42,9 @@ install-data-local:
$(INSTALL_DATA) profile.sh -D $(DESTDIR)$(sysconfdir)/profile.d/debuginfod.sh
$(INSTALL_DATA) profile.csh -D $(DESTDIR)$(sysconfdir)/profile.d/debuginfod.csh
+uninstall-local:
+ rm -f $(DESTDIR)$(sysconfdir)/profile.d/debuginfod.sh $(DESTDIR)$(sysconfdir)/profile.d/debuginfod.csh
+
if MAINTAINER_MODE
$(srcdir)/elfutils.spec.in: $(top_srcdir)/NEWS
@tmpname=$$(mktemp $${TMPDIR:-/tmp}/elfutils.XXXXXX); \