From 27842082e09359b3b7f5eed59ab21a0a06c5b1d2 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 30 Jul 2013 11:42:38 +0200 Subject: build: Don't uninstall configuration files Several of the tools install/uninstall files from $NCONF_FILES, however if we call the uninstall target for a specific tool (e.g. `make astraceroute_uninstall') but other tools depending on one or more of the config files are still installed, the file is still removed unconditionally. As it would require quite some logic in the Makefile in order to detect installed tools and their dependencies, we just don't uninstall the configuration files anymore. Signed-off-by: Tobias Klauser --- Extra | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'Extra') diff --git a/Extra b/Extra index 021e4f6..27a3c55 100644 --- a/Extra +++ b/Extra @@ -18,15 +18,3 @@ trafgen_install_custom: astraceroute_install_custom: $(Q)$(call INST,geoip.conf,$(ETCDIRE)) - -netsniff-ng_uninstall_custom flowtop_uninstall_custom: - $(Q)$(foreach file,$(NCONF_FILES),$(call RM,$(ETCDIRE)/$(file));) - $(Q)$(call RMDIR,$(ETCDIRE)) - -trafgen_uninstall_custom: - $(Q)$(call RM,$(ETCDIRE)/stddef.h) - $(Q)$(call RMDIR,$(ETCDIRE)) - -astraceroute_uninstall_custom: - $(Q)$(call RM,$(ETCDIRE)/geoip.conf) - $(Q)$(call RMDIR,$(ETCDIRE)) -- cgit v1.2.3-54-g00ecf