From b189c980dcd9e8d789f4bdf90cccb1594908e349 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 8 Jul 2008 18:49:15 +0000 Subject: minor cleanups git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4572 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3