summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2009-06-17 21:49:14 +0200
committerMichael Stapelberg <michael@stapelberg.de>2009-06-17 21:49:14 +0200
commite1e3cd494002854768ece736add20583e43b0d0c (patch)
tree55585937f159565d28a7801b362ee4b5e6ac449b
parent82b429c910b586de955025c8b2bafa6713c27c1a (diff)
makefile: fix release target
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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}