diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2010-09-23 00:19:59 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2010-09-23 00:19:59 +0200 |
commit | adda6b4dd5b755433311ddf4a6a57cc6842fb55d (patch) | |
tree | c43457f891e190ad17fadddc59b4eb536d968481 /Makefile | |
parent | c3f7fc4994cb7ae77cb6aa38e90500164f0b5dbd (diff) |
makefile: also copy include/ in make release
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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} |