[Django] Switch to the 'html' doc builder, for easier navigation without a web server

Michel Alexandre Salim salimma at fedoraproject.org
Sat Sep 10 18:19:12 UTC 2011


commit bc5694953a9e95502edbe29e28eff845d82d4567
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Sat Sep 10 20:18:54 2011 +0200

    Switch to the 'html' doc builder, for easier navigation without a web server

 Django.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/Django.spec b/Django.spec
index e42e782..7c872be 100644
--- a/Django.spec
+++ b/Django.spec
@@ -3,7 +3,7 @@
 
 Name:           Django
 Version:        1.3.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A high-level Python Web framework
 
 Group:          Development/Languages
@@ -74,7 +74,7 @@ rm -rf $RPM_BUILD_ROOT
 # If it's rhel5+ or any Fedora over 12 build docs
 %if 0%{?rhel} > 4 || 0%{?fedora} >= 12
     # build documentation
-    (cd docs && mkdir djangohtml && mkdir -p _build/{doctrees,dirhtml} && make dirhtml)
+    (cd docs && mkdir djangohtml && mkdir -p _build/{doctrees,html} && make html)
 %endif
 
 
@@ -194,11 +194,14 @@ rm -rf $RPM_BUILD_ROOT
 %if 0%{?rhel} > 4 || 0%{?fedora} >= 12
 %files doc
 %defattr(-,root,root,-)
-%doc docs/_build/dirhtml/*
+%doc docs/_build/html/*
 %endif
 
 
 %changelog
+* Sat Sep 10 2011 Michel Salim <salimma at fedoraproject.org> - 1.3.1-2
+- Switch to the 'html' doc builder, for easier navigation without a web server
+
 * Sat Sep 10 2011 Michel Salim <salimma at fedoraproject.org> - 1.3.1-1
 - Update to 1.3.1
 - Remove workaround for non-functional -doc generation


More information about the scm-commits mailing list