mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
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
This commit is contained in:
parent
ca6e4f345e
commit
b91226027e
2 changed files with 167 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue