On Sat, Jun 01, 16:46, Alexis Murzeau wrote
> I think Adam meant to not implement low level makefile targets yourself,
> but use dh like this:
> ```
> #!/usr/bin/make -f
>
> export DEB_BUILD_MAINT_OPTIONS = hardening=+all
> %:
> dh $@
>
> override_dh_auto_configure:
> dh_auto_configure -- \
> --bindir=\$${prefix}/games \
> --datadir=\$${prefix}/share/games
> ```That's indeed much simpler and seems to work as well. Thanks for pointing this out! Adam, do you want me to provide v3 with debian/rules changed to something like the above? Note, however, that building with the simple debian/rules file prints a warning because dh_auto_configure seems to add --disable-silent-rules, --disable-maintainer-mode and --disable-dependency-tracking to the configure command line, which tfortune's configure doesn't know. This seems to be a common problem. One solution is to call configure directly, as recommended in the dh_auto_configure man page. Another way to avoid the warning is to provide noop-stubs for the three options in configure.ac. I'd prefer to call configure directly because this is a bit simpler and touches only debian/rules. Opinions anybody? Best Andre -- Max Planck Institute for Developmental Biology Max-Planck-Ring 5, 72076 Tübingen, Germany. Phone: (+49) 7071 601 829 http://people.tuebingen.mpg.de/maan/
signature.asc
Description: PGP signature

