[Python-modules-commits] r16551 - in packages/pycxx/trunk/debian (rules)

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Sat Apr 16 10:29:18 UTC 2011


    Date: Saturday, April 16, 2011 @ 10:28:55
  Author: jtaylor-guest
Revision: 16551

debian/rules: link header folder into pythonX.Y_d

fixes upgrade failure, old package also used a symlink

Modified:
  packages/pycxx/trunk/debian/rules

Modified: packages/pycxx/trunk/debian/rules
===================================================================
--- packages/pycxx/trunk/debian/rules	2011-04-16 10:24:19 UTC (rev 16550)
+++ packages/pycxx/trunk/debian/rules	2011-04-16 10:28:55 UTC (rev 16551)
@@ -19,9 +19,7 @@
 		dh_install -ppython-cxx-dev CXX/*.hxx        /usr/include/$${i}/CXX/; \
 		dh_install -ppython-cxx-dev CXX/*.h          /usr/include/$${i}/CXX/; \
 		dh_install -ppython-cxx-dev CXX/Python2/*    /usr/include/$${i}/CXX/Python2; \
-		dh_install -ppython-cxx-dev CXX/*.hxx        /usr/include/$${i}_d/CXX/; \
-		dh_install -ppython-cxx-dev CXX/*.h          /usr/include/$${i}_d/CXX/; \
-		dh_install -ppython-cxx-dev CXX/Python2/*    /usr/include/$${i}_d/CXX/Python2; \
+		dh_link -ppython-cxx-dev /usr/include/$${i}/CXX/ /usr/include/$${i}_d/CXX; \
 		dh_install -ppython-cxx-dev Src/*.c          /usr/share/$${i}/CXX/; \
 		dh_install -ppython-cxx-dev Src/*.cxx        /usr/share/$${i}/CXX/; \
 		dh_install -ppython-cxx-dev Src/Python2/*    /usr/share/$${i}/CXX/Python2; \
@@ -33,9 +31,7 @@
 		dh_install -ppython3-cxx-dev CXX/*.hxx        /usr/include/$${i}/CXX/; \
 		dh_install -ppython3-cxx-dev CXX/*.h          /usr/include/$${i}/CXX/; \
 		dh_install -ppython3-cxx-dev CXX/Python3/*    /usr/include/$${i}/CXX/Python3; \
-		dh_install -ppython3-cxx-dev CXX/*.hxx        /usr/include/$${i}_d/CXX/; \
-		dh_install -ppython3-cxx-dev CXX/*.h          /usr/include/$${i}_d/CXX/; \
-		dh_install -ppython3-cxx-dev CXX/Python3/*    /usr/include/$${i}_d/CXX/Python3; \
+		dh_link -ppython3-cxx-dev /usr/include/$${i}/CXX/ /usr/include/$${i}_d/CXX; \
 		dh_install -ppython3-cxx-dev Src/*.c          /usr/share/$${i}/CXX/; \
 		dh_install -ppython3-cxx-dev Src/*.cxx        /usr/share/$${i}/CXX/; \
 		dh_install -ppython3-cxx-dev Src/Python3/*    /usr/share/$${i}/CXX/Python3; \




More information about the Python-modules-commits mailing list