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 --- Makefile | 1 - 1 file changed, 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5a467c4..4dda0f8 100644 --- a/Makefile +++ b/Makefile @@ -150,7 +150,6 @@ install_all: $(foreach tool,$(TOOLS),$(tool)_install) install_allbutcurvetun: $(foreach tool,$(filter-out curvetun,$(TOOLS)),$(tool)_install) install_allbutmausezahn: $(foreach tool,$(filter-out mausezahn,$(TOOLS)),$(tool)_install) uninstall: $(foreach tool,$(TOOLS),$(tool)_uninstall) - $(Q)$(call RMDIR,$(ETCDIRE)) %.yy.o: %.l $(LEX) -P $(shell perl -wlne 'print $$1 if /lex-func-prefix:\s([a-z]+)/' $<) \ -- cgit v1.2.3-54-g00ecf