diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-03-12 15:56:11 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-03-12 16:22:15 +0100 |
commit | 21a7ba9b7e7e97854678677c7da4b42bd9faec66 (patch) | |
tree | c69b7d925dd4b0c12a7b51d34a5ddca7a405f384 | |
parent | de32a951c07243a307233ae2f2b478e636276e1e (diff) | |
download | guile-21a7ba9b7e7e97854678677c7da4b42bd9faec66.tar.gz |
build: Remove libguile-2.0-gdb.scm and $infodir/dir upon uninstall.
* libguile/Makefile.am (uninstall-data-hook): New target.
-rw-r--r-- | libguile/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libguile/Makefile.am b/libguile/Makefile.am index db93929a7..dd6d662d0 100644 --- a/libguile/Makefile.am +++ b/libguile/Makefile.am @@ -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 |