From: Michael Stapelberg Date: Wed, 22 Sep 2010 22:19:59 +0000 (+0200) Subject: makefile: also copy include/ in make release X-Git-Tag: 2.2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=adda6b4dd5b755433311ddf4a6a57cc6842fb55d;p=i3%2Fi3status makefile: also copy include/ in make release --- 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}