From 1a587498e80ebee9273b7b718d87a891a490d89a Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 15 Oct 2006 23:40:58 +0200 Subject: [PATCH] [BUILD] make clean did not work on anything but bash --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c12e51944..03e7917f2 100644 --- a/Makefile +++ b/Makefile @@ -124,7 +124,8 @@ objsize: haproxy $(CC) $(CFLAGS) -c -o $@ $< clean: - rm -f {.,src}/*.[oas] {.,src,include/*,doc}/*{~,.rej} core haproxy test + rm -f *.[oas] src/*.[oas] core haproxy test + for dir in . src include/* doc; do rm -f $$dir/*~ $$dir/*.rej;done rm -f haproxy-$(VERSION).tar.gz haproxy-$(VERSION) nohup.out gmon.out tar: clean