From: Willy Tarreau Date: Sun, 15 Oct 2006 21:40:58 +0000 (+0200) Subject: [BUILD] make clean did not work on anything but bash X-Git-Tag: v1.3.3~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a587498e80ebee9273b7b718d87a891a490d89a;p=thirdparty%2Fhaproxy.git [BUILD] make clean did not work on anything but bash --- diff --git a/Makefile b/Makefile index c12e51944b..03e7917f24 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