From: Frank Ch. Eigler Date: Thu, 8 Oct 2020 15:56:15 +0000 (-0400) Subject: PR25461: uninstall /etc/profile.d files for distuninstallcheck X-Git-Tag: elfutils-0.182~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fee123fb771f46274dfc8260c00f5d3061de2cd2;p=thirdparty%2Felfutils.git 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 --- diff --git a/config/ChangeLog b/config/ChangeLog index 9c31925f6..f93bbfd76 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,7 +1,11 @@ +2020-10-08 Frank Ch. Eigler + + * Makefile.am (uninstall-local): Uninstall the new profile.d files. + 2020-10-01 Frank Ch. Eigler 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 ae6ffc9b0..e56f32a50 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); \