summaryrefslogtreecommitdiffstats
path: root/GNUmakefile
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2009-04-01 16:28:46 +0200
committerHans Ulrich Niedermann <hun@n-dimensional.de>2009-04-01 16:28:46 +0200
commit28c8da9787ee7fc592e9ed396bb69a98a71a3f6e (patch)
treed91836d49e62b7c9c1b1ab5fdba5c0160947ada4 /GNUmakefile
parentdc678aa4a725cc41b048ecda0edb42a1bb8bd3df (diff)
downloadgit-rpm-28c8da9787ee7fc592e9ed396bb69a98a71a3f6e.tar.gz
git-rpm-28c8da9787ee7fc592e9ed396bb69a98a71a3f6e.tar.xz
git-rpm-28c8da9787ee7fc592e9ed396bb69a98a71a3f6e.zip
Automatic package name detection
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile5
1 files changed, 4 insertions, 1 deletions
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