From 08ee194d5973beed17d445f3c6bc3beabc9ecfd8 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 9 Nov 2009 21:31:51 +0100 Subject: [PATCH] Update regexp in make dist --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cfc3c14c..84f54cba 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,7 @@ dist: distclean # Only copy source code from i3-input mkdir i3-${VERSION}/i3-input find i3-input -maxdepth 1 -type f \( -name "*.c" -or -name "*.h" -or -name "Makefile" \) -exec cp '{}' i3-${VERSION}/i3-input \; - sed -e 's/^GIT_VERSION=\(.*\)/GIT_VERSION=${GIT_VERSION}/g;s/^VERSION=\(.*\)/VERSION=${VERSION}/g' common.mk > i3-${VERSION}/common.mk + sed -e 's/^GIT_VERSION:=\(.*\)/GIT_VERSION=${GIT_VERSION}/g;s/^VERSION:=\(.*\)/VERSION=${VERSION}/g' common.mk > i3-${VERSION}/common.mk # Pre-generate a manpage to allow distributors to skip this step and save some dependencies make -C man cp man/*.1 i3-${VERSION}/man/ -- 2.39.5