summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2009-10-16 20:46:45 +0200
committerMichael Stapelberg <michael@stapelberg.de>2009-10-16 20:46:45 +0200
commit94ee6e4fb7b489e32669a10365a3dfe744e4a1a1 (patch)
tree28bb92996cc5ecb24900258f1fd3b358b164890a /Makefile
parentda8cb9ebfc69b9f56dbd5764f4da6ba22fd087de (diff)
Change Makefile to make releases containing our current directory structure
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2b8f0cc..0fa51a9 100644
--- a/Makefile
+++ b/Makefile
@@ -59,6 +59,10 @@ install:
release:
[ -f i3status-${VERSION} ] || rm -rf i3status-${VERSION}
mkdir i3status-${VERSION}
- find . -maxdepth 1 -type f \( -regex ".*\.\(c\|conf\|1\|h\)" -or -name "Makefile" \) -exec cp '{}' i3status-${VERSION} \;
+ find . -maxdepth 1 -type f \( -regex ".*\.\(c\|conf\|h\)" -or -name "Makefile" -or -name "LICENSE" \) -exec cp '{}' i3status-${VERSION} \;
+ mkdir i3status-${VERSION}/src
+ mkdir i3status-${VERSION}/man
+ find src -maxdepth 1 -type f \( -regex ".*\.\(c\|h\)" \) -exec cp '{}' i3status-${VERSION}/src \;
+ find man -maxdepth 1 -type f \( -regex ".*\.\(1\)" \) -exec cp '{}' i3status-${VERSION}/man \;
tar cjf i3status-${VERSION}.tar.bz2 i3status-${VERSION}
rm -rf i3status-${VERSION}