From 3be142ecb2734d8411f23c7a4613cbac760cf1d9 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Thu, 10 Mar 2016 15:07:54 -0700 Subject: [PATCH] plugin Makefile.ams: rmdir the plugin subdirectory on uninstall. --- src/blowfish/Makefile.am | 2 ++ src/gdbm/Makefile.am | 2 ++ src/mcrypt/Makefile.am | 2 ++ src/md5/Makefile.am | 2 ++ src/mhash/Makefile.am | 2 ++ 5 files changed, 10 insertions(+) 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)" -- 2.25.1