summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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