go to
> debhelper(7)
> dh(1)
> dh_autoreconf(1)
> dh_autoreconf_clean(1)
Homepage > Man Pages > Category > Macros and Conventions
Homepage > Man Pages > Name > D

dh-autoreconf

man page of dh-autoreconf

dh-autoreconf: debhelper add-on to run autoreconf during build

NAME
dh-autoreconf - debhelper add-on to run autoreconf during build
DESCRIPTION
The dh-autoreconf package provides a sequence addon for debhelper 7 which can be used in the following way: #!/usr/bin/make -f %: dh $@ --with autoreconf This will call dh_autoreconf prior to dh_auto_configure and will call dh_autoreconf_clean before dh_clean. For more information on how to control the autoreconf process or how to other possible options, read the dh_autoreconf(1) and dh_autoreconf_clean(1) manual pages.

CDBS INTEGRATION

This package also provides /usr/share/cdbs/1/rules/autoreconf.mk for packages using CDBS. The variable "DEB_DH_AUTORECONF_ARGS" can be used to pass extra arguments to dh_autoreconf, and the variable "DEB_DH_AUTORECONF_CLEAN_ARGS" to pass arguments to dh_autoreconf_clean. See their manual pages for information on available arguments.

PATCHING LTMAIN.SH FOR AS-NEEDED LINKER FLAGS

You can add support for -Wl,--as-needed to ltmain.sh (at least for those ltmain.sh scripts changed during autoreconf) by passing the argument --as-needed to dh_autoreconf, as demonstrated in the following example: #!/usr/bin/make -f %: dh $@ --with autoreconf override_dh_autoreconf: dh_autoreconf --as-needed and for CDBS, by adding it to the correct variable such as: DEB_DH_AUTORECONF_ARGS = --as-needed For more information about this feature, see dh_autoreconf(1)

CAVEATS

dh_autoreconf is a superset of the autotools-dev debhelper addons, so you do not need --with=autotools_dev if you use --with=autoreconf. In fact, in most cases they should not be used together, as it may lead to unpredictable behaviour. From time to time, there might be a short breakage for those using automatic ltmain.sh patching, when the patch now longer applies to the ltmain.sh.

SEE ALSO

debhelper(7), dh(1), dh_autoreconf(1), dh_autoreconf_clean(1)
AUTHOR
Julian Andres Klode <jak@debian.org> DH-AUTORECONF(7)
 
 
 

Copyright © 2011–2018 by topics-of-interest.com . All rights reserved. Hosted by all-inkl.
Contact · Imprint · Privacy

Page generated in 32.99ms.

Autoresponder Reviews | www.daelim-forum.com | meinehunde.net