diff --git a/UI/Templates/GNUmakefile b/UI/Templates/GNUmakefile index e2d7f2a80..f96e836d9 100644 --- a/UI/Templates/GNUmakefile +++ b/UI/Templates/GNUmakefile @@ -40,3 +40,8 @@ clean :: distclean :: clean uninstall :: + @if [ -L "$(SOGO_TEMPLATESDIR)" ]; then \ + echo "$(SOGO_TEMPLATESDIR) is a symbolic link (for development?). Uninstallation skipped."; \ + else \ + rm -rf $(SOGO_TEMPLATESDIR); \ + fi