[Build-common-hackers] Bug#273835: document that rules that add commands should come after buildcore.mk
Matt Kraai
Matt Kraai <kraai@ftbfs.org>, 273835@bugs.debian.org
Tue, 28 Sep 2004 05:23:10 -0700
--PEIAKu/WMn1b1Hv9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Package: cdbs
Version: 0.4.22-1.4
Severity: minor
I needed to add a command to the build, so I added the following
rule to debian/rules before including the CDBS files:
common-build-arch::
$(MAKE) -C doc autogen.ps
Unfortunately, the build failed because this command was run
before configure. Moving this rule after including the CDBS files
fixed the build.
I added the rule before including the CDBS file because of the
following line in the "Adding extra code" section (though I
realize now this is for rules that add dependencies):
However, this must come before you include buildcore.mk.
It seems that rules that add commands should come after the
inclusion of buildcore.mk. Would you please document this (or
correct me)?
--=20
Matt Kraai kraai@ftbfs.org http://ftbfs.org/kraai/
--PEIAKu/WMn1b1Hv9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBWVeufNdgYxVXvBARAsXPAJ4jA7jKISwvmQx7a+ZDsaYbmfgb3wCfQZWh
Tj4RwWBa5TSCrQYnN2Sf4BE=
=oMgw
-----END PGP SIGNATURE-----
--PEIAKu/WMn1b1Hv9--