From: Lady Date: Sun, 27 Oct 2024 20:20:55 +0000 (-0400) Subject: Delete installed directories during uninstall X-Git-Tag: 0.13.2 X-Git-Url: https://git.ladys.computer/Shushe/commitdiff_plain/df48a5d6a3b4092fa00b2d1561f86be7826d1ef8?ds=sidebyside Delete installed directories during uninstall Expanded archives produce directories, so this needs to be a recursive `rm`. --- diff --git a/GNUmakefile b/GNUmakefile index 3161ecd..f7809ed 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -575,7 +575,7 @@ listout : # Destroy installed files. uninstall : - $(foreach file,$(installablefiles),$(if $(wildcard $(call installed,$(file))),$(silent)$(PRINTF) '%s\n' $(call quote,Removing …)$(newline)$(silent)$(RM) -f $(call quote,$(call installed,$(file)))$(newline),)) + $(foreach file,$(installablefiles),$(if $(wildcard $(call installed,$(file))),$(silent)$(PRINTF) '%s\n' $(call quote,Removing …)$(newline)$(silent)$(RM) -f -R $(call quote,$(call installed,$(file)))$(newline),)) # Raise an error when attempting to build any files with recursive dependencies. $(call built,$(recursivefiles)) :