From 5fcced4557ede761fbbb66f70135af022e4f960e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 15 Nov 2002 09:12:48 +0000 Subject: fix version detection for new spec file --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9fc1b582..b007ab55 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION = $(shell awk '/define version/ { print $$3 }' $(NAME).spec) +VERSION = $(shell awk '/Version:[ ]*(.*)/ { print $$2 }' $(NAME).spec) NAME = drakconf SUBDIRS = po pixmaps data localedir = $(DESTDIR)/usr/share/locale -- cgit v1.2.1