diff --git a/Makefile b/Makefile index d616cd603..c029a9daf 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ modules_DEPEND_DIRS = src include $(TOP)/configure/RULES_TOP -UNINSTALL_DIRS += $(INSTALL_LOCATION)/src +UNINSTALL_DIRS += $(addsuffix /src,$(filter-out .,$(INSTALL_LOCATION))) copysrc: tar cf - --exclude-vcs --exclude-backups --exclude=O.* modules/*/src | tar xf - -C $(INSTALL_LOCATION)