+++ Christoph Egger [2012-06-24 17:36 +0200]:
> Hi!
>
> Debian toolchain does nowadays work with build-indep/build-arch
> targets without any tricks. However therion isn't working anyways:
>
> cp -a ./thbook/thbook.pdf debian/therion-doc/usr/share/doc/therion-doc/
> cp: cannot stat `./thbook/thbook.pdf': No such file or directory
> dh_install: cp -a ./thbook/thbook.pdf
> debian/therion-doc/usr/share/doc/therion-doc/ returned exit code 1
> make: *** [binary-arch] Error 2
>
> Seems you need a binary-indep target as well to match your build-indep
> ;-)
Yes. I noticed last week that the upload I did over 2 months ago to
fix this very problem didn't in fact work!
The odd thing is that is works ina local sbuild/pbuilder so I haven't
actually worked out exactly what's wrong.
Having got some other things out of the way I was planning to work on
this tonight, so your bug is timely to make sure I really do :-)
The package does already have a binary-indep target:
binary-indep: build-indep-stamp
# just build the -doc package
dh_testdir
dh_testroot
ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
#if cross-building these won't have been generated, so skip
dh_installdocs -ptherion-doc samples.doc
endif
#we should generate html of thbook here too if possible
dh_compress -ptherion-doc -X.pdf -X.th -X.th2 -Xthconfig
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
I'm not sure why this isn't doing the right thing on a buildd
Wookey
--
Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]