summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-07-08 20:20:37 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-07-08 20:20:37 +0000
commitf91e402f967c5b27edd38bdca79dc54807103755 (patch)
treee3e73c837e1f089821df9a69c9f5f452ce045df9 /Makefile
parent0f27521bc7d0abc3604c5ca0164bbc95178cdae5 (diff)
minor improvements to uninstall-modules: add the PID to the temporary file name to make it less easy to accidentally duplicate, only search directories where we expect that DAHDI or Zaptel modules might be found (known installation locations, even old ones), and always uninstall old Zaptel modules before installing new ones, in case a module is no longer in the tree and shouldn't be left installed
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4401 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cb1a090..61ed9e0 100644
--- a/Makefile
+++ b/Makefile
@@ -538,6 +538,7 @@ ifndef DESTDIR
rm -rf /lib/modules/$(KVERS)/dahdi; \
echo "done."; \
fi
+ build_tools/uninstall-modules dahdi $(KVERS)
endif
$(KMAKE_INST)
endif