[Python-modules-commits] r7843 - in packages/python-django/trunk/debian (rules)

lamby at users.alioth.debian.org lamby at users.alioth.debian.org
Tue Mar 10 21:17:20 UTC 2009


    Date: Tuesday, March 10, 2009 @ 21:17:20
  Author: lamby
Revision: 7843

Replace embedded jQuery after dh_installdocs is called.

Modified:
  packages/python-django/trunk/debian/rules

Modified: packages/python-django/trunk/debian/rules
===================================================================
--- packages/python-django/trunk/debian/rules	2009-03-10 21:17:18 UTC (rev 7842)
+++ packages/python-django/trunk/debian/rules	2009-03-10 21:17:20 UTC (rev 7843)
@@ -37,9 +37,11 @@
 	
 	# Rename django-admin.py to django-admin
 	mv $(PREFIX)/usr/bin/django-admin.py $(PREFIX)/usr/bin/django-admin
-	
+
+override_dh_installdocs:
+	dh_installdocs
 	# Remove embedded copy of libjs-jquery
-	cd $(PREFIX)/usr/share/doc/python-django/html/_static \
+	cd debian/python-django-doc/usr/share/doc/python-django-doc/html/_static \
 		&& rm jquery.js \
 		&& ln -s ../../../../javascript/jquery/jquery.js .
 




More information about the Python-modules-commits mailing list