]> git.sur5r.net Git - i3/i3/commitdiff
Makefile: Use POSIX-compliant method to delete multiple files (for-loop)
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 10 Nov 2009 13:37:51 +0000 (14:37 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 10 Nov 2009 13:37:51 +0000 (14:37 +0100)
man/Makefile

index 2bf15fc5881d19839d1f5db07d9a06788e3b5e9c..151b9abc19487d9587469522e0fbdbec192a5284 100644 (file)
@@ -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