1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

build: Remove libguile-2.0-gdb.scm and $infodir/dir upon uninstall.

* libguile/Makefile.am (uninstall-data-hook): New target.
This commit is contained in:
Ludovic Courtès 2014-03-12 15:56:11 +01:00
parent de32a951c0
commit 21a7ba9b7e

View file

@ -475,6 +475,12 @@ $(DESTDIR)$(libdir)/$$libname-gdb.scm"; \
$(INSTALL_DATA) "$<" \
"$(DESTDIR)$(libdir)/$$libname-gdb.scm"
# Remove the GDB support file and the Info 'dir' file that
# 'install-info' 5.x installs.
uninstall-hook:
-rm "$(DESTDIR)$(libdir)/libguile-@GUILE_EFFECTIVE_VERSION@"*-gdb.scm
-rm -f "$(DESTDIR)$(infodir)/dir"
## This is kind of nasty... there are ".c" files that we don't want to
## compile, since they are #included. So instead we list them here.
## Perhaps we can deal with them normally once the merge seems to be