summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-06-10 06:33:31 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2007-06-10 06:33:31 +0000
commitb91226027e0719b2763c06965d9889387717691e (patch)
treedfa5cebad272f76b903eec5b21f1e74b8e396fa1 /scripts
parentca6e4f345e61ce613d9a394caf7c714a50e9c94e (diff)
downloaddjango-b91226027e0719b2763c06965d9889387717691e.tar.gz
Added a man page for django-admin.py. Also install it correctly as part of the
auto-generated rpm. Thanks to Marc Fargas and Paul Bissex for writing the man page. Refs #3341. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rpm-install.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/rpm-install.sh b/scripts/rpm-install.sh
index d3d95bcdb1..f337a789b1 100644
--- a/scripts/rpm-install.sh
+++ b/scripts/rpm-install.sh
@@ -21,3 +21,8 @@ done
# Make sure we match foo.pyo and foo.pyc along with foo.py (but only once each)
sed -e "/\.py[co]$/d" -e "s/\.py$/.py*/" DIRS FILES >INSTALLED_FILES
+mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man1/
+cp docs/man/* ${RPM_BUILD_ROOT}/%{_mandir}/man1/
+cat << EOF >> INSTALLED_FILES
+%doc %{_mandir}/man1/*"
+EOF