[Python-modules-commits] r29635 - in packages/ocr4gamera/trunk/debian (rules)

danstender-guest at users.alioth.debian.org danstender-guest at users.alioth.debian.org
Sat Jul 5 13:21:09 UTC 2014


    Date: Saturday, July 5, 2014 @ 13:21:08
  Author: danstender-guest
Revision: 29635

deb/rules: restored symlink-helper script and removal of *.egg-info

Modified:
  packages/ocr4gamera/trunk/debian/rules

Modified: packages/ocr4gamera/trunk/debian/rules
===================================================================
--- packages/ocr4gamera/trunk/debian/rules	2014-07-05 04:51:54 UTC (rev 29634)
+++ packages/ocr4gamera/trunk/debian/rules	2014-07-05 13:21:08 UTC (rev 29635)
@@ -7,14 +7,17 @@
 override_dh_auto_install:
 	dh_auto_install
 	find debian/*/ -name '_bbox_*.so' -delete
+	find debian/*/ -name '*.egg-info' -delete
 	cd debian/*/usr/bin/ && \
-        rename.ul '.py' '' ocr4gamera.py && \
-        sed -i -e '1s,^#!.*,#!/usr/bin/python,' ocr4gamera
+		rename.ul '.py' '' ocr4gamera.py && \
+		sed -i -e '1s,^#!.*,#!/usr/bin/python,' ocr4gamera
 
 override_dh_installdocs:
 	rm -rf doc/html/
 	cd doc && python gendoc.py
 	dh_installdocs
+	cd debian/*/usr/share/doc/*/html/ && \
+		$(CURDIR)/debian/symlink-helper ../src/ .
 
 override_dh_installman:
 	rst2man debian/ocr4gamera.rst > debian/ocr4gamera.1




More information about the Python-modules-commits mailing list