From: Michael Stapelberg Date: Tue, 10 Nov 2009 13:37:51 +0000 (+0100) Subject: Makefile: Use POSIX-compliant method to delete multiple files (for-loop) X-Git-Tag: 3.e~6^2~245 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6779a0e27fb724a16fc676f9f9171d6ea7f6d723;p=i3%2Fi3 Makefile: Use POSIX-compliant method to delete multiple files (for-loop) --- diff --git a/man/Makefile b/man/Makefile index 2bf15fc5..151b9abc 100644 --- a/man/Makefile +++ b/man/Makefile @@ -3,4 +3,7 @@ all: a2x -f manpage --asciidoc-opts="-f asciidoc.conf" i3-msg.man a2x -f manpage --asciidoc-opts="-f asciidoc.conf" i3-input.man clean: - rm -f i3.{1,html,xml} i3-msg.{1,html,xml} i3-input.{1,html,xml} + for file in "i3 i3-msg i3-input"; \ + do \ + rm -f $${file}.1 $${file}.html $${file}.xml; \ + done