]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUILD] make clean did not work on anything but bash
authorWilly Tarreau <w@1wt.eu>
Sun, 15 Oct 2006 21:40:58 +0000 (23:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 15 Oct 2006 21:40:58 +0000 (23:40 +0200)
Makefile

index c12e51944b76f41cc91b483118d38040a5c2d56f..03e7917f24ccbe4599d38c743c785b9101b06003 100644 (file)
--- 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