launchpad-users team mailing list archive
-
launchpad-users team
-
Mailing list archive
-
Message #06684
Re: overriding dh_auto_build
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Gianfranco,
Am 17.10.2014 um 08:48 schrieb Gianfranco Costamagna:
> I didn't look carefully but I see at least two problems:
> 1) you seem be accessing something on the net, I see http somewhere,
this isn't allowed on builders.
> 2) in the default % rule you call dh_build directly (why you override
the default target is really unknown to me)
>
> so if you directly call dh_build I think no override_dh_build will
ever be called (I think thet put some stamp in debian directory after
being executed to avoid to run twice because of bad rules files)
I found it out. Now i have created a small customized rule who direct
calls xsltproc.
The packaging goes near to the goal :-)
My recipe is:
- --cut--
#bzr-builder format 0.3 deb-version {debupstream}-0~{revno}
lp:make-test-release
nest-part packaging
lp:~sascha-manns-h/make-test-release/make-test-release-ubuntu debian debian
- --cut--
Actual i become:
- --cut--
debian/rules build
dh_testdir
pwd
/tmp/buildd/make-test-release-1.0
xsltproc --nonet --param man.charmap.use.subset 0 -o docs/
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
docs/make-test-release.1.xml
warning: failed to load external entity "docs/make-test-release.1.xml"
unable to parse docs/make-test-release.1.xml
- --cut--
How that nesting works?
I thought it checks out the sourcetree to a temp and i have:
tempdir/
tempdir/bin/
tempdir/docs/
tempdir/etc/
tempdir/lib/
and the nesting adds a debian so i have:
tempdir/
tempdir/bin/
tempdir/debian/
tempdir/docs/
tempdir/etc/
tempdir/lib/
Is that right?
Greetings
Sascha
- --
Yours sincerly
Sascha Manns
Maifeldstraße 10
56727 Mayen
Phone: +49-1573-9242730
Email: Sascha.Manns@xxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJUQWIjAAoJEOnUbwoA0sgE5lAH/1iZVuP/kvS779wvlLvqqXqm
RE5gN+YkIlVA+ZuXdO4GlOWp132NEvfdhhXdkNYJARbt6gjlCgLy9EIENODrlHc4
ZSvkV1NJ/4gW8jligS0sSTuRN8UaQvHFkysqjeOTE/jhIspC2hoGaVvvZkIaz9sQ
TK2rEMxxXhCJuDK4suvTfxD/O0auXPOVtShoe7lsd06tVBNOreVbmTYM8gRGvmvG
zDLuHqUFmNj8n+A74WvknyteeRaL9zccJbEKSha1z3LfdK23Z/fkGN6bBBOGkqOQ
TeEKLJyqtFJr5Rc4NWfZ7BqMHZ6fUVfkDClV7KaGw0E5CRuK5mzLM1Kp9dDZYZk=
=7DO0
-----END PGP SIGNATURE-----
Follow ups
References