From 212ee16eb998eacdee0f7eb3b83a6c66699bd843 Mon Sep 17 00:00:00 2001
From: Han-Wen Nienhuys <hanwen@xs4all.nl>
Date: Wed, 13 Dec 2006 14:33:24 +0100
Subject: [PATCH] simpler Documentation/user/ clean

---
 Documentation/user/GNUmakefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/user/GNUmakefile b/Documentation/user/GNUmakefile
index e950f2cbf3..9974762647 100644
--- a/Documentation/user/GNUmakefile
+++ b/Documentation/user/GNUmakefile
@@ -274,6 +274,6 @@ $(outdir)/interfaces.itexi: dummy
 
 local-clean: local-delete
 
+# use `find` together with `xargs` to avoid too long argument-lists.
 local-delete:
-	find $(outdir)/ -name 'lily-[0-9a-f]*' | xargs rm -f
-	-rm -f $(outdir)/*
+	$(FIND) $(outdir)/ -empty -name '*' | xargs rm -f
-- 
2.39.5