[Build-common-hackers] Bug#273835: document that rules that add commands should come after buildcore.mk
Matt Kraai <email@example.com>, firstname.lastname@example.org
Tue, 28 Sep 2004 05:23:10 -0700
Content-Type: text/plain; charset=us-ascii
I needed to add a command to the build, so I added the following
rule to debian/rules before including the CDBS files:
$(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
Matt Kraai email@example.com http://ftbfs.org/kraai/
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----