Add SLIB_UNINSTALL_EXTRA_COMMAND to uninstall the things installed via
authorDave Yeo <daveryeo@telus.net>
Wed, 17 Oct 2007 13:48:47 +0000 (13:48 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 17 Oct 2007 13:48:47 +0000 (13:48 +0000)
SLIB_INSTALL_EXTRA_COMMAND.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 10767 to svn://svn.ffmpeg.org/ffmpeg/trunk

common.mak
configure

index a3940730a7275e395fd19ba269cc3e35e13ab8d5..e93ded05642ee0c12d7e0a32de73cf7816e0aec1 100644 (file)
@@ -96,6 +96,7 @@ uninstall-libs:
        -rm -f "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR)" \
               "$(SHLIBDIR)/$(SLIBNAME)"            \
               "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
+       -$(SLIB_UNINSTALL_EXTRA_CMD)
        -rm -f "$(LIBDIR)/$(LIB)"
 
 uninstall-headers::
index e575b054ad0b9a38d0c6d47c76f2a21f5a404a9c..79f1832f96f2e3d42b4b1f741faf2c38125d39ee 100755 (executable)
--- a/configure
+++ b/configure
@@ -1909,6 +1909,7 @@ if enabled shared; then
   echo "SLIBNAME_WITH_MAJOR=${SLIBNAME_WITH_MAJOR}" >> config.mak
   echo "SLIB_EXTRA_CMD=${SLIB_EXTRA_CMD}" >> config.mak
   echo "SLIB_INSTALL_EXTRA_CMD=${SLIB_INSTALL_EXTRA_CMD}" >> config.mak
+  echo "SLIB_UNINSTALL_EXTRA_CMD=${SLIB_UNINSTALL_EXTRA_CMD}" >> config.mak
 fi
 echo "LIB_INSTALL_EXTRA_CMD=${LIB_INSTALL_EXTRA_CMD}" >> config.mak
 echo "EXTRALIBS=$extralibs" >> config.mak