1 diff -Nur dahdi-linux-2.2.1-rc2.orig/Makefile dahdi-linux-2.2.1-rc2/Makefile
2 --- dahdi-linux-2.2.1-rc2.orig/Makefile 2009-11-10 06:32:45.000000000 +1100
3 +++ dahdi-linux-2.2.1-rc2/Makefile 2010-01-05 21:55:05.518240715 +1100
5 for hdr in $(INST_HEADERS); do \
6 install -D -m 644 include/dahdi/$$hdr $(DESTDIR)/usr/include/dahdi/$$hdr; \
8 - @rm -rf $(DESTDIR)/usr/include/zaptel
11 for hdr in $(INST_HEADERS); do \
14 install-modules: modules
16 - @if modinfo zaptel > /dev/null 2>&1; then \
17 - echo -n "Removing Zaptel modules for kernel $(KVERS), please wait..."; \
18 - build_tools/uninstall-modules zaptel $(KVERS); \
19 - rm -rf /lib/modules/$(KVERS)/zaptel; \
22 build_tools/uninstall-modules dahdi $(KVERS)
24 $(KMAKE) INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=dahdi modules_install
25 - [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :
30 rm -rf /lib/modules/$(KVERS)/dahdi; \
33 - [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :