Query: dh-autoreconf
OS: debian
Section: 7
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DH-AUTORECONF(7) dh-autoreconf DH-AUTORECONF(7)NAMEdh-autoreconf - debhelper add-on to run autoreconf during buildDESCRIPTIONThe 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 INTEGRATIONThis 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.TIPS AND EXAMPLESPATCHING 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) RUNNING MULTIPLE COMMANDS WITH DH_AUTORECONF Please note that you may run dh_autoreconf only once. If you need to run multiple commands, you can put the commands into a script or your debian/rules file and then pass the name of your script to dh_autoreconf. For example, if your script is called debian/autogen.sh, you can put the following into your debian/rules if you use dh: override_dh_autoreconf: dh_autoreconf debian/autogen.sh Or, if you use CDBS: DEB_DH_AUTORECONF_ARGS += debian/autogen.shCAVEATSdh_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. You can only run dh_autoreconf once. Future versions may be able to be run multiple times, but this requires slightly more planning.SEE ALSOdebhelper(7), dh(1), dh_autoreconf(1), dh_autoreconf_clean(1)AUTHORJulian Andres Klode <jak@debian.org> dh-autoreconf v7 2012-11-22 DH-AUTORECONF(7)
Related Man Pages |
---|
autoreconf(1) - linux |
dh_autoreconf(1) - debian |
dh-autoreconf(7) - debian |
autoreconf(1) - osx |
autoreconf(1) - debian |
Similar Topics in the Unix Linux Community |
---|
Xtables-addons 1.5.4 (Default branch) |
how to read a value from a file and pass it to a variable |
Xtables-addons 1.5.7 (Default branch) |
A perplexing mystery |
Passing multiple run time arguments |