From 28c8da9787ee7fc592e9ed396bb69a98a71a3f6e Mon Sep 17 00:00:00 2001 From: Hans Ulrich Niedermann Date: Wed, 1 Apr 2009 16:28:46 +0200 Subject: Automatic package name detection --- GNUmakefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 3ca24ef..a019300 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,3 +1,6 @@ -NAME = changeme +# Change the following to an explicit package name if you want +# the spec file name to be different from the directory name +# for some reason. +NAME = $(notdir $(realpath .)) dummy := $(shell test -f git-rpm/git-rpm.mk || git submodule update --init) include git-rpm/git-rpm.mk -- cgit