summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}