X-Git-Url: https://git.ladys.computer/Shushe/blobdiff_plain/d8f8ff2443740df40b41e7bedfd71f4b3422031f..c1a08dff0fcba3fc28ec3061a359d71efeb438be:/GNUmakefile?ds=sidebyside

diff --git a/GNUmakefile b/GNUmakefile
index fac1491..5634264 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -807,7 +807,7 @@ clean :
 ifneq ($(twostep),)
 # Build the data and remove outdated data files.
 data : $(BUILDDIR)/data.out
-	$(silent)$(FIND) $(call quote,$(BUILDDIR)/data/public) '!' -exec $(GREP) -F -q -x '{}' $(call quote,$<) ';' -a '(' -type d -o -print ')' | $(xargsmultiquote) | $(XARGS) -E '' $(RM)
+	$(silent)$(FIND) $(call quote,$(BUILDDIR)/data/public) '!' '(' -exec $(GREP) -F -q -x '{}' $(call quote,$<) ';' -a -prune ')' -a '(' -type d -o -print ')' | $(xargsmultiquote) | $(XARGS) -E '' $(RM)
 endif
 
 # Provide help.