Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/autoreconf.mk
# $FreeBSD$ | # $FreeBSD$ | ||||
# | # | ||||
# Run autoreconf in CONFIGURE_WRKSRC to update configure, Makefile.in and | # Run autoreconf in AUTORECONF_WRKSRC to update configure, Makefile.in and | ||||
# other build scripts. | # other build scripts. | ||||
# | # | ||||
# Autoreconf encapsulates the following commands. Each command applies to a | # Autoreconf encapsulates the following commands. Each command applies to a | ||||
Context not available. | |||||
.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_AUTORECONF_POST_MK) | .if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_AUTORECONF_POST_MK) | ||||
_INCLUDE_USES_AUTORECONF_POST_MK= yes | _INCLUDE_USES_AUTORECONF_POST_MK= yes | ||||
.if ! ${autoreconf_ARGS:Mbuild} | .if empty(autoreconf_ARGS) | ||||
_USES_configure+= 470:do-autoreconf | _USES_configure+= 470:do-autoreconf | ||||
do-autoreconf: | do-autoreconf: | ||||
.for f in AUTHORS ChangeLog INSTALL NEWS README | .for f in AUTHORS ChangeLog INSTALL NEWS README | ||||
Context not available. | |||||
then ${LOCALBASE}/bin/intltoolize -f -c; fi) | then ${LOCALBASE}/bin/intltoolize -f -c; fi) | ||||
.endif | .endif | ||||
@(cd ${AUTORECONF_WRKSRC} && ${AUTORECONF} -f -i) | @(cd ${AUTORECONF_WRKSRC} && ${AUTORECONF} -f -i) | ||||
.elif ! ${autoreconf_ARGS:Mbuild} | |||||
IGNORE= Incorrect 'USES+=autoreconf:${autoreconf_ARGS}' expecting 'USES+=autoreconf[:build]' | |||||
.endif | .endif | ||||
.endif | .endif | ||||
Context not available. |