From 3ab47e5247be12cb03df83682a6d1c1f5a716cff Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 27 Aug 2012 09:38:30 -0400 Subject: [PATCH] build: Don't depend on hwdata.spec for 'make install' It's really not necessary to parse "hwdata.spec" to tell us our package name is "hwdata". The other targets still do depend on the version/release in hwdata.spec. Signed-off-by: Adam Jackson --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c8b203b..fa4fbe0 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -NAME=$(shell awk '/Name:/ { print $$2 }' hwdata.spec) +NAME=hwdata VERSION=$(shell awk '/Version:/ { print $$2 }' hwdata.spec) RELEASE=$(shell rpm -q --define 'dist %{nil}' --specfile --qf "%{release}" hwdata.spec) SOURCEDIR := $(shell pwd) -- 2.25.1