please sorry.. pardon me<div><br></div><div>i do not upload the orig file due some problems on internet upload, i not have permanet connection so i upload most important files.. let me upload now:</div><div><br></div><div>
now its done, please try it again ...</div><div><br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here is what my rules file looks like currently and it somewhat works:<br>
<br>%:<br>
dh $@ --sourcedirectory=Build<br>
<br>
override_dh_auto_configure:<br>
cd Build && cmake -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON -DCMAKE_INSTALL_PREFIX=/usr ..<br>
<br>
override_dh_strip:<br>
dh_strip --dbg-package=libbox2d2-dbg<br>
<br></blockquote><div>there's some more things.. i think its innnecesary the sourcedirectory if u plan to override cofigure and build targes.. </div><div><br></div><div>theres two changes possibles:</div><div><br></div>
<div>1) use tune overrides targes: hd_auto_build, dh_auto_configure, etc and override always with cd Build & etc</div><div><br></div><div>in my rules files i use a backportable to dh level 6 rules , but i prefer use more modern see number 2 option:</div>
<div><br></div><div>2) use dh tools, and parse to DH vars the CAMKLE conf flags, i let u this example:</div><div><br></div><div><div>#!/usr/bin/make -f</div><div><br></div><div># Uncomment this to turn on verbose mode.</div>
<div>#export DH_VERBOSE=1</div><div><br></div><div><br></div><div># multiarch support are added automatically in debhelper 9, but this for backguards</div><div>DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)</div>
<div><br></div><div>export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed</div><div><br></div><div>CMAKE_CFLAGS_OPTIONS=$(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CXXFLAGS)</div><div><br></div><div>
# begin of debian rules parsing</div><div>%:</div><div><br></div><div># parallel build was introduced into debhelper >= 7.5 so then squeeze must have support</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>dh $@ --buildsystem=cmake --parallel</div>
<div><br></div><div>override_dh_auto_configure:</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>dh_auto_configure -- -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" -DCMAKE_CXX_FLAGS_RELEASE="$(CMAKE_CFLAGS_OPTIONS)" -DCMAKE_CXX_FLAGS="$(CMAKE_CFLAGS_OPTIONS)" -DBOX2D_INSTALL=ON -DBOX2D_BUILD_SHARED=ON</div>
<div><br></div><div># packagers need this for see changes in files installing over razorqt updates</div><div>override_dh_install:</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>dh_install --list-missing --sourcedir=debian/tmp</div>
</div><div>override_dh_strip:<br> dh_strip --dbg-package=libbox2d2-dbg</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote></div></div>