]> review.fuel-infra Code Review - openstack-build/horizon-build.git/commitdiff
Cleans better.
authorThomas Goirand <thomas@goirand.fr>
Fri, 17 May 2013 08:38:53 +0000 (08:38 +0000)
committerThomas Goirand <thomas@goirand.fr>
Fri, 17 May 2013 09:03:03 +0000 (09:03 +0000)
Rewritten-From: cd7128b8988abad9ed1f326aa29f6b28e8e4e093

trusty/debian/rules

index 9d9e6f772d527e36f0e8d22d3510ed7d3cedb92c..61f7c71d099b738d3ca954907da941c5519cab26 100755 (executable)
@@ -49,6 +49,7 @@ override_dh_install:
 
 override_dh_auto_clean:
        dh_auto_clean
+       python setup.py clean
        rm -rf $(CURDIR)/static
        rm -rf $(CURDIR)/horizon/build
        rm -rf $(CURDIR)/horizon.egg-info
@@ -56,3 +57,5 @@ override_dh_auto_clean:
        rm -rf doc/source/sourcecode
        rm -rf $(CURDIR)/doc/build
        rm -f horizon/openstack_dashboard/test/.secret_key_store
+       find $(CURDIR)/openstack_dashboard -iname '*.pyc' -delete
+