summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2010-09-23 00:19:59 +0200
committerMichael Stapelberg <michael@stapelberg.de>2010-09-23 00:19:59 +0200
commitadda6b4dd5b755433311ddf4a6a57cc6842fb55d (patch)
treec43457f891e190ad17fadddc59b4eb536d968481 /Makefile
parentc3f7fc4994cb7ae77cb6aa38e90500164f0b5dbd (diff)
makefile: also copy include/ in make release
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 526ec34..5f1c00e 100644
--- a/Makefile
+++ b/Makefile
@@ -77,6 +77,7 @@ release:
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\|man\|conf\)" -or -name "Makefile" \) -exec cp '{}' i3status-${VERSION}/man \;
+ cp -r include i3status-${VERSION}
sed -e 's/^GIT_VERSION:=\(.*\)/GIT_VERSION=${GIT_VERSION}/g;s/^VERSION:=\(.*\)/VERSION=${VERSION}/g' Makefile > i3status-${VERSION}/Makefile
tar cjf i3status-${VERSION}.tar.bz2 i3status-${VERSION}
rm -rf i3status-${VERSION}