]> Lady’s Gitweb - Shushe/commitdiff
Delete installed directories during uninstall current 0.13.2
authorLady <redacted>
Sun, 27 Oct 2024 20:20:55 +0000 (16:20 -0400)
committerLady <redacted>
Sun, 27 Oct 2024 20:21:57 +0000 (16:21 -0400)
Expanded archives produce directories, so this needs to be a recursive
`rm`.

GNUmakefile

index 3161ecd5960c3243b0a2c30c01950cf148ca1ccb..f7809ed774f0e01ea81d10fe8a20f857b26664d3 100644 (file)
@@ -575,7 +575,7 @@ listout :
 
 # Destroy installed files.
 uninstall :
 
 # Destroy installed files.
 uninstall :
-       $(foreach file,$(installablefiles),$(if $(wildcard $(call installed,$(file))),$(silent)$(PRINTF) '%s\n' $(call quote,Removing </$(patsubst $(DESTDIR)/%,%,$(call installed,$(file)))>…)$(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 </$(patsubst $(DESTDIR)/%,%,$(call installed,$(file)))>…)$(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)) :
 
 # Raise an error when attempting to build any files with recursive dependencies.
 $(call built,$(recursivefiles)) :
This page took 0.056696 seconds and 4 git commands to generate.