From 6779a0e27fb724a16fc676f9f9171d6ea7f6d723 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 10 Nov 2009 14:37:51 +0100 Subject: [PATCH] Makefile: Use POSIX-compliant method to delete multiple files (for-loop) --- man/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5