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>
This commit is contained in:
Frank Ch. Eigler
2020-10-08 11:56:15 -04:00
parent 94708e9646
commit fee123fb77
2 changed files with 8 additions and 1 deletions
+5 -1
View File
@@ -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.
+3
View File
@@ -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); \