Fix Makefile for modules (bug #199)
[asterisk/asterisk.git] / Makefile
index 433d05b..9383bfc 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -268,8 +268,8 @@ bininstall: all
                rm -f $(ASTSPOOLDIR)/vm; \
        fi
        ln -s $(ASTSPOOLDIR)/voicemail/default $(ASTSPOOLDIR)/vm
-       rm -f $(ASTMODULESDIR)/chan_ixj.so
-       rm -f $(ASTMODULESDIR)/chan_tor.so
+       rm -f $(MODULES_DIR)/chan_ixj.so
+       rm -f $(MODULES_DIR)/chan_tor.so
        mkdir -p $(ASTVARLIBDIR)/sounds
        mkdir -p $(ASTLOGDIR)/cdr-csv
        mkdir -p $(ASTVARLIBDIR)/keys