/[gentoo-x86]/eclass/autotools-utils.eclass
Gentoo

Diff of /eclass/autotools-utils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.37 Revision 1.38
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.37 2012/01/14 14:59:18 mgorny Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.38 2012/01/14 15:18:05 mgorny Exp $
4 4
5# @ECLASS: autotools-utils.eclass 5# @ECLASS: autotools-utils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Maciej Mrozowski <reavertm@gentoo.org> 7# Maciej Mrozowski <reavertm@gentoo.org>
8# Michał Górny <mgorny@gentoo.org> 8# Michał Górny <mgorny@gentoo.org>
305 305
306 # gettext 306 # gettext
307 if [[ $(autotools_check_macro AM_GLIB_GNU_GETTEXT) ]]; then 307 if [[ $(autotools_check_macro AM_GLIB_GNU_GETTEXT) ]]; then
308 echo 'no' | autotools_run_tool glib-gettextize --copy 308 echo 'no' | autotools_run_tool glib-gettextize --copy
309 elif [[ $(autotools_check_macro AM_GNU_GETTEXT) ]]; then 309 elif [[ $(autotools_check_macro AM_GNU_GETTEXT) ]]; then
310 eautopoint 310 eautopoint --force
311 fi 311 fi
312 312
313 # intltool 313 # intltool
314 if [[ $(autotools_check_macro AC_PROG_INTLTOOL IT_PROG_INTLTOOL) ]] 314 if [[ $(autotools_check_macro AC_PROG_INTLTOOL IT_PROG_INTLTOOL) ]]
315 then 315 then
316 autotools_run_tool intltoolize --copy --automake 316 autotools_run_tool intltoolize --copy --automake --force
317 fi 317 fi
318 318
319 # gtk-doc 319 # gtk-doc
320 if [[ $(autotools_check_macro GTK_DOC_CHECK) ]]; then 320 if [[ $(autotools_check_macro GTK_DOC_CHECK) ]]; then
321 autotools_run_tool gtkdocize --copy 321 autotools_run_tool gtkdocize --copy
322 fi 322 fi
323 323
324 # gnome-doc 324 # gnome-doc
325 if [[ $(autotools_check_macro GNOME_DOC_INIT) ]]; then 325 if [[ $(autotools_check_macro GNOME_DOC_INIT) ]]; then
326 autotools_run_tool gnome-doc-prepare --copy 326 autotools_run_tool gnome-doc-prepare --copy --force
327 fi 327 fi
328 328
329 # We need to perform the check twice to know whether to run eaclocal. 329 # We need to perform the check twice to know whether to run eaclocal.
330 # (_elibtoolize does that itself) 330 # (_elibtoolize does that itself)
331 if [[ $(autotools_check_macro AC_PROG_LIBTOOL AM_PROG_LIBTOOL LT_INIT) ]] 331 if [[ $(autotools_check_macro AC_PROG_LIBTOOL AM_PROG_LIBTOOL LT_INIT) ]]

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

  ViewVC Help
Powered by ViewVC 1.1.20