makefile: also copy include/ in make release
This commit is contained in:
parent
c3f7fc4994
commit
adda6b4dd5
1
Makefile
1
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}
|
||||
|
Loading…
Reference in New Issue
Block a user