From e1e3cd494002854768ece736add20583e43b0d0c Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 17 Jun 2009 21:49:14 +0200 Subject: [PATCH] makefile: fix release target --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a184c76..8d7eeb9 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ install: release: [ -f i3status-${VERSION} ] || rm -rf i3status-${VERSION} mkdir i3status-${VERSION} - cp *.c *.h *.1 *.conf Makefile i3status-${VERSION} + find . -maxdepth 1 -type f \( -regex ".*\.\(c\|conf\|1\|h\)" -or -name "Makefile" \) -exec cp '{}' i3status-${VERSION} \; tar cjf i3status-${VERSION}.tar.bz2 i3status-${VERSION} rm -rf i3status-${VERSION} -- 2.39.2