summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2009-01-25 06:09:05 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2009-01-25 06:09:05 +0100
commit48dc20f325e548fa62eeb82c16d859d35dc4a5ad (patch)
tree189ee9618bc0f230ae383d64c81cd6462354a9be
parentdfadebb69134c80b78504bbf39998e462f5ca055 (diff)
downloadgit-rpm-48dc20f325e548fa62eeb82c16d859d35dc4a5ad.tar.gz
git-rpm-48dc20f325e548fa62eeb82c16d859d35dc4a5ad.tar.xz
git-rpm-48dc20f325e548fa62eeb82c16d859d35dc4a5ad.zip
README: move docs from git-rpm.mk to README
-rw-r--r--README36
-rw-r--r--git-rpm.mk35
2 files changed, 36 insertions, 35 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..96af774
--- /dev/null
+++ b/README
@@ -0,0 +1,36 @@
+# How to use this file:
+# 0. run "git init"
+# 1. git submodule add 'git://fedorapeople.org/~ndim/git-rpm.git' git-rpm
+# git submodule init
+# 2. create GNUmakefile with contents like
+# NAME = mypkg
+# include git-rpm/git-rpm.mk
+# 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.
+# 6. run "make" for a test build of the rpm files
+# 7. if you do not like the result, go to 5
+# 8. make sure NVR and %changelog are updated
+# 9. Make sure you have "git commit"ed all your changes before
+# 10. run "make tag" tag the current release
+# 11. run "make upload" to upload the built rpm files to the server
+#
+# Settings best defined in ~/.git-rpm-settings.mk, but with potentially
+# useful defaults:
+# 1. RSYNC_USER and RSYNC_HOST or RSYNC_USHO
+# 2. RSYNC_ROOT
+#
+# The path setups etc. work for fedorapeople.org accounts. Other systems
+# will probably need adaptation.
+#
+# Benefits:
+# 1. Reproducible local rpm builds:
+# $ make
+# 2. Automatic generation of text reports (rpmlint, rpm content list):
+# $ make check
+# 3. Easy versioning of NVRs using git tags
+# $ make tag
+# 4. Easy upload via rsync/ssh to NVR specific places on a web server,
+# and to a git repository (nice for package review)
+# $ make upload
+
diff --git a/git-rpm.mk b/git-rpm.mk
index 4356ad1..40effb2 100644
--- a/git-rpm.mk
+++ b/git-rpm.mk
@@ -1,38 +1,3 @@
-# How to use this file:
-# 0. run "git init"
-# 1. copy this file as git-rpm.mk
-# 2. create GNUmakefile with contents like
-# NAME = mypkg
-# include git-rpm.mk
-# 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.
-# 6. run "make" for a test build of the rpm files
-# 7. if you do not like the result, go to 5
-# 8. make sure NVR and %changelog are updated
-# 9. Make sure you have "git commit"ed all your changes before
-# 10. run "make tag" tag the current release
-# 11. run "make upload" to upload the built rpm files to the server
-#
-# Settings best defined in ~/.git-rpm-settings.mk, but with potentially
-# useful defaults:
-# 1. RSYNC_USER and RSYNC_HOST or RSYNC_USHO
-# 2. RSYNC_ROOT
-#
-# The path setups etc. work for fedorapeople.org accounts. Other systems
-# will probably need adaptation.
-#
-# Benefits:
-# 1. Reproducible local rpm builds:
-# $ make
-# 2. Automatic generation of text reports (rpmlint, rpm content list):
-# $ make check
-# 3. Easy versioning of NVRs using git tags
-# $ make tag
-# 4. Easy upload via rsync/ssh to NVR specific places on a web server,
-# and to a git repository (nice for package review)
-# $ make upload
-
RPMDIRS = rpm-build rpm-dist
UPLOAD_FILES =