[master] c562b7c No need to keep the sphinx doc =build dir. If a user wants them, she can recreate them.

Ingvar ingvar at varnish-cache.org
Tue Apr 24 15:02:39 CEST 2012


commit c562b7c46513204859fbe1816ce61eaf4ee39e06
Author: Ingvar Hagelund <ingvar at redpill-linpro.com>
Date:   Mon Apr 23 11:17:57 2012 +0200

    No need to keep the sphinx doc =build dir. If a user wants them, she can recreate them.

diff --git a/redhat/varnish.spec b/redhat/varnish.spec
index a2d3ae9..091e15b 100644
--- a/redhat/varnish.spec
+++ b/redhat/varnish.spec
@@ -122,7 +122,9 @@ tail -n +11 etc/default.vcl >> redhat/default.vcl
 	redhat/varnish.initrc redhat/varnishlog.initrc redhat/varnishncsa.initrc
 %endif
 
-cp -r doc/sphinx/\=build/html doc
+rm -rf doc/sphinx/\=build/html/_sources
+mv doc/sphinx/\=build/html doc
+rm -rf doc/sphinx/\=build
 
 %check
 # rhel5 on ppc64 is just too strange



More information about the varnish-commit mailing list