From adda6b4dd5b755433311ddf4a6a57cc6842fb55d Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 23 Sep 2010 00:19:59 +0200 Subject: [PATCH] makefile: also copy include/ in make release --- Makefile | 1 + 1 file changed, 1 insertion(+) 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} -- 2.39.2