summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-11-15 09:12:48 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-11-15 09:12:48 +0000
commit5fcced4557ede761fbbb66f70135af022e4f960e (patch)
tree7a42bd7c2820bb96c9a23695b86bb4bffa3bc047 /Makefile
parent709faf4beb9a99b1e06e138484652a98fcd948a0 (diff)
downloadcontrol-center-5fcced4557ede761fbbb66f70135af022e4f960e.tar
control-center-5fcced4557ede761fbbb66f70135af022e4f960e.tar.gz
control-center-5fcced4557ede761fbbb66f70135af022e4f960e.tar.bz2
control-center-5fcced4557ede761fbbb66f70135af022e4f960e.tar.xz
control-center-5fcced4557ede761fbbb66f70135af022e4f960e.zip
fix version detection for new spec file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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