1 | # Copyright 1999-2006 Gentoo Foundation |
1 | # Copyright 1999-2006 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/gnome2-utils.eclass,v 1.10 2008/03/22 17:30:11 remi Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2-utils.eclass,v 1.11 2008/09/27 09:16:32 leio Exp $ |
4 | |
4 | |
5 | # |
5 | # |
6 | # gnome2-utils.eclass |
6 | # gnome2-utils.eclass |
7 | # |
7 | # |
8 | # Set of auxiliary functions used to perform actions commonly needed by packages |
8 | # Set of auxiliary functions used to perform actions commonly needed by packages |
… | |
… | |
177 | if [[ -f ${S}/omf.make ]] ; then |
177 | if [[ -f ${S}/omf.make ]] ; then |
178 | omf_makefiles="${omf_makefiles} ${S}/omf.make" |
178 | omf_makefiles="${omf_makefiles} ${S}/omf.make" |
179 | fi |
179 | fi |
180 | |
180 | |
181 | # testing fixing of all makefiles found |
181 | # testing fixing of all makefiles found |
|
|
182 | # The sort is important to ensure .am is listed before the respective .in for |
|
|
183 | # maintainer mode regeneration not kicking in due to .am being newer than .in |
182 | for filename in $(find ./ -name "Makefile.in" -o -name "Makefile.am") ; do |
184 | for filename in $(find ./ -name "Makefile.in" -o -name "Makefile.am" |sort) ; do |
183 | omf_makefiles="${omf_makefiles} ${filename}" |
185 | omf_makefiles="${omf_makefiles} ${filename}" |
184 | done |
186 | done |
185 | |
187 | |
186 | ebegin "Fixing OMF Makefiles" |
188 | ebegin "Fixing OMF Makefiles" |
187 | |
189 | |