summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-07-08 18:49:15 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-07-08 18:49:15 +0000
commitd3e78daae89b774ac19e126e7cf0f1149cc6df92 (patch)
tree2af2adb2d72a2f42a414f2e4dffa4841e5932651 /Makefile
parent3304eb2397869d8d028361a00a18184fde86ddcd (diff)
minor cleanups
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4572 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 153573a..7b41cb0 100644
--- a/Makefile
+++ b/Makefile
@@ -170,6 +170,7 @@ ifndef DESTDIR
@if modinfo zaptel > /dev/null 2>&1; then \
echo -n "Removing Zaptel modules for kernel $(KVERS), please wait..."; \
build_tools/uninstall-modules zaptel $(KVERS); \
+ rm -rf /lib/modules/$(KVERS)/zaptel; \
echo "done."; \
fi
endif
@@ -181,12 +182,12 @@ ifdef DESTDIR
echo "Uninstalling modules is not supported with a DESTDIR specified."
exit 1
else
- @if modinfo dahdi> /dev/null 2>&1 ; then \
+ @if modinfo dahdi > /dev/null 2>&1 ; then \
echo -n "Removing DAHDI modules for kernel $(KVERS), please wait..."; \
build_tools/uninstall-modules dahdi $(KVERS); \
+ rm -rf /lib/modules/$(KVERS)/dahdi; \
echo "done."; \
fi
- @rm -rf /lib/modules/$(KVERS)/dahdi
[ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
endif