Patchwork [2/9] glib: fix pre and post autoreconf functions

login
register
mail settings
Submitter Morten Svendsen
Date Oct. 17, 2012, 2:37 p.m.
Message ID <71ed4ff1561ad8c975e037701ab57633979db582.1350484529.git.morten.thunbergsvendsen@prevas.dk>
Download mbox | patch
Permalink /patch/192061/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

Morten Svendsen - Oct. 17, 2012, 2:37 p.m.
Fixes: "Makefile.am: required file `./README' not found",
when rebuilding glib.
---
 recipes/glib/glib.inc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/recipes/glib/glib.inc b/recipes/glib/glib.inc
index 5ec756a..48560d5 100644
--- a/recipes/glib/glib.inc
+++ b/recipes/glib/glib.inc
@@ -14,13 +14,13 @@  AUTORECONF_GENFILES ?= "INSTALL README"
 # autoreconf operation.  To be able to (re)run autoreconf after
 # configure, we fake them using silly stubs.
 do_autoreconf_genfiles_touch () {
-	for f in AUTORECONF_GENFILES ; do
+	for f in $AUTORECONF_GENFILES ; do
 		touch $f
         done
 }
 do_autoreconf[prefuncs] += "do_autoreconf_genfiles_touch"
 do_autoreconf_genfiles_rm () {
-	for f in AUTORECONF_GENFILES ; do
+	for f in $AUTORECONF_GENFILES ; do
 		rm $f
         done
 }