Correct serious flaw in the top-level Makefile.
[asterisk/asterisk.git] / Makefile
index a2c4fc9..9ca498c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -892,7 +892,7 @@ uninstall: _uninstall
        @echo " +-------------------------------------------+"
 
 uninstall-all: _uninstall
-       rm -rf "$(DESTDIR)$(ASTLIBDIR)"
+       rm -rf "$(DESTDIR)$(ASTMODDIR)"
        rm -rf "$(DESTDIR)$(ASTVARLIBDIR)"
        rm -rf "$(DESTDIR)$(ASTDATADIR)"
        rm -rf "$(DESTDIR)$(ASTSPOOLDIR)"