[Django] trying dirhtml as a replacement for djangohtml

smilner smilner at fedoraproject.org
Sun Oct 10 01:15:54 UTC 2010


commit bbe8dcd34e9256b0c80431be96ef939b8cb8237d
Author: Steve 'Ashcrow' Milner <stevem at gnulinux.net>
Date:   Sat Oct 9 21:16:09 2010 -0400

    trying dirhtml as a replacement for djangohtml

 Django.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/Django.spec b/Django.spec
index 1f7450d..57f4276 100644
--- a/Django.spec
+++ b/Django.spec
@@ -3,7 +3,7 @@
 
 Name:           Django
 Version:        1.2.3
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A high-level Python Web framework
 
 Group:          Development/Languages
@@ -81,7 +81,7 @@ rm -rf $RPM_BUILD_ROOT
 # If it's rhel5+ or any Fedora under 13 build docs
 %if 0%{?rhel} > 4 || 0%{?fedora} > 0 && 0%{?fedora} <= 13
     # build documentation
-    (cd docs && mkdir djangohtml && mkdir -p _build/{doctrees,html} && make html)
+    (cd docs && mkdir djangohtml && mkdir -p _build/{doctrees,dirhtml} && make dirhtml)
 %endif
 
 # install man pages
@@ -149,11 +149,14 @@ rm -rf $RPM_BUILD_ROOT
 %if 0%{?rhel} > 4 || 0%{?fedora} > 0 && 0%{?fedora} <= 13
 %files doc
 %defattr(-,root,root,-)
-%doc docs/_build/html/*
+%doc docs/_build/dirhtml/*
 %endif
 
 
 %changelog
+* Sat Oct  9 2010 Steve 'Ashcrow' Milner <me at stevemilner.org> - 1.2.3-2
+- Moved to dirhtml for documentation generation
+
 * Mon Sep 13 2010 Steve 'Ashcrow' Milner <me at stevemilner.org> - 1.2.3-1
 - Update for http://www.djangoproject.com/weblog/2010/sep/10/123/
 


More information about the scm-commits mailing list