diff options
-rw-r--r-- | GNUmakefile | 5 | ||||
-rw-r--r-- | README | 7 |
2 files changed, 7 insertions, 5 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 @@ -1,8 +1,7 @@ # How to use this file: -# 0. run "git init" -# 1. git submodule add 'git://fedorapeople.org/~ndim/git-rpm.git' git-rpm -# 2. copy git-rpm/GNUmakefile to your top directory: -# $ cp git-rpm/GNUmakefile . +# 0. $ mkdir mypkg && cd mypkg && git init +# 1. $ git submodule add 'git://fedorapeople.org/~ndim/git-rpm.git' git-rpm +# 2. $ ln -s git-rpm/GNUmakefile . # 3. write mypkg.spec, and fill in at least the Summary: line # 4. run "make setup" to created the upload directory to the server # 5. write mypkg.spec, patches, Source: files, etc. |