From: Matt Birkholz Date: Thu, 10 Mar 2016 22:07:54 +0000 (-0700) Subject: plugin Makefile.ams: rmdir the plugin subdirectory on uninstall. X-Git-Tag: mit-scheme-pucked-9.2.12~261^2~75^2~5 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=3be142ecb2734d8411f23c7a4613cbac760cf1d9;p=mit-scheme.git plugin Makefile.ams: rmdir the plugin subdirectory on uninstall. --- diff --git a/src/blowfish/Makefile.am b/src/blowfish/Makefile.am index 34591f9d8..39b56433f 100644 --- a/src/blowfish/Makefile.am +++ b/src/blowfish/Makefile.am @@ -74,3 +74,5 @@ install-data-hook: uninstall-hook: echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \ | $(MIT_SCHEME_EXE) --batch-mode + [ -d "$(DESTDIR)$(scmlib_blowfishdir)" ] \ + && rmdir "$(DESTDIR)$(scmlib_blowfishdir)" diff --git a/src/gdbm/Makefile.am b/src/gdbm/Makefile.am index f63b00e2a..d9649609a 100644 --- a/src/gdbm/Makefile.am +++ b/src/gdbm/Makefile.am @@ -73,3 +73,5 @@ install-data-hook: uninstall-hook: echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \ | $(MIT_SCHEME_EXE) --batch-mode + [ -d "$(DESTDIR)$(scmlib_gdbmdir)" ] \ + && rmdir "$(DESTDIR)$(scmlib_gdbmdir)" diff --git a/src/mcrypt/Makefile.am b/src/mcrypt/Makefile.am index 781bc51ad..57b822f5a 100644 --- a/src/mcrypt/Makefile.am +++ b/src/mcrypt/Makefile.am @@ -73,3 +73,5 @@ install-data-hook: uninstall-hook: echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \ | $(MIT_SCHEME_EXE) --batch-mode + [ -d "$(DESTDIR)$(scmlib_mcryptdir)" ] \ + && rmdir "$(DESTDIR)$(scmlib_mcryptdir)" diff --git a/src/md5/Makefile.am b/src/md5/Makefile.am index b02e41d4d..5e3af5d3b 100644 --- a/src/md5/Makefile.am +++ b/src/md5/Makefile.am @@ -73,3 +73,5 @@ install-data-hook: uninstall-hook: echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \ | $(MIT_SCHEME_EXE) --batch-mode + [ -d "$(DESTDIR)$(scmlib_md5dir)" ] \ + && rmdir "$(DESTDIR)$(scmlib_md5dir)" diff --git a/src/mhash/Makefile.am b/src/mhash/Makefile.am index 62d251134..60a87e45c 100644 --- a/src/mhash/Makefile.am +++ b/src/mhash/Makefile.am @@ -73,3 +73,5 @@ install-data-hook: uninstall-hook: echo '(update-optiondb "$(DESTDIR)$(scmlibdir)/")' \ | $(MIT_SCHEME_EXE) --batch-mode + [ -d "$(DESTDIR)$(scmlib_mhashdir)" ] \ + && rmdir "$(DESTDIR)$(scmlib_mhashdir)"