summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 47ec471..7f7fd32 100644
--- a/Makefile
+++ b/Makefile
@@ -486,6 +486,18 @@ install-programs: $(BINS) install-libs install-include
$(INSTALL) -d $(BIN_DIR)
$(INSTALL) $(BINS) $(BIN_DIR)
+uninstall:
+ mv $(INSTALL_PREFIX)/etc/zaptel.conf $(INSTALL_PREFIX)/etc/zaptel.`date +%F`
+ rm -rf $(INSTALL_PREFIX)/usr/share/zaptel
+ rm -rf $(INSTALL_PREFIX)/usr/include/zaptel
+ rm -f $(INSTALL_PREFIX)/sbin/ztcfg
+ rm -f $(INSTALL_PREFIX)/sbin/sethdlc
+ rm -f $(INSTALL_PREFIX)/sbin/zttool
+ rm -f $(INSTALL_PREFIX)/etc/hotplug/usb/xpp*
+ rm -f $(INSTALL_PREFIX)/etc/udev/rules.d/zaptel.rules
+ rm -f $(INSTALL_PREFIX)/etc/udev/rules.d/xpp.rules
+ rm -f $(INSTALL_PREFIX)/etc/udev/rules.d/zaptel.rules
+
install-modules: install-$(BUILDVER)
install-linux24: $(MODULESO)
$(INSTALL) -d $(MOD_DIR)