Hi all,
Following Michael's comments yesterday, I was trying to use "make" to
generate the tarball, as this process would generate the missing
documentation files. This worked, but would also try and generate the
RPM and SRPM. I just wanted the tarball (as I build the RPMs for
multiple distros elsewhere), so I looked at the Makefile and found the
sdist target, which looks like it's responsible for creating the
tarball. Calling "make sdist" didn't work for me, as it didn't generate
the documentation files, so here's a patch to make the sdist target
generate said documentation before creating the tarball.
Thought I'd start off nice and simple, to make sure I've got the process
right. Is this the correct way (and format) for patch submission?
Cheers,
KEv.
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index d562462..2f06181 100644
--- a/Makefile
+++ b/Makefile
@@ -85,7 +85,7 @@ restartservices:
/sbin/service cobblerd restart
/sbin/service httpd restart
-sdist: clean updatewui
+sdist: clean manpage updatewui
python setup.py sdist
#messages: cobbler/*.py
--
1.5.6
--
Kevin James
Applied Technology Senior Strategist
Novell Global Enablement
------------------------
Novell, Inc.
http://www.novell.com