From: Michael Stapelberg Date: Wed, 17 Jun 2009 19:49:14 +0000 (+0200) Subject: makefile: fix release target X-Git-Tag: 1.1~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e1e3cd494002854768ece736add20583e43b0d0c;p=i3%2Fi3status makefile: fix release target --- 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}