]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* conf/Makefile.common: Fix autogen rules to pass definition
authorAndrey Borzenkov <arvidjaar@gmail.com>
Sun, 20 Jan 2013 22:44:42 +0000 (23:44 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 20 Jan 2013 22:44:42 +0000 (23:44 +0100)
files on stdin; Makefile.util.am needs Makefile.utilgcry.def

ChangeLog
conf/Makefile.common

index e82ee8d01a5e99e3d514e10512f64cf67998b586..4c21ea08be5429a23b61f92cefa73ca30334a6a5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-20  Andrey Borzenkov <arvidjaar@gmail.com>
+
+       * conf/Makefile.common: Fix autogen rules to pass definition
+       files on stdin; Makefile.util.am needs Makefile.utilgcry.def
+
 2013-01-20  Leif Lindholm  <leif.lindholm@arm.com>
 
        * include/grub/elf.h: Update ARM definitions based on binutils.
index 5b9cd929f61a43cb558252de0d80fc79b1586ea4..75c0a5e07cf0e85791d41b4befe50fd272b3ff61 100644 (file)
@@ -169,12 +169,12 @@ $(top_srcdir)/Makefile.tpl: $(top_srcdir)/gentpl.py
        mv $@.new $@
 
 .PRECIOUS: $(top_srcdir)/Makefile.util.am
-$(top_srcdir)/Makefile.util.am: $(top_srcdir)/Makefile.util.def $(top_srcdir)/Makefile.tpl
-       autogen -T $(top_srcdir)/Makefile.tpl $< | sed -e '/^$$/{N;/^\\n$$/D;}' > $@.new || (rm -f $@.new; exit 1)
+$(top_srcdir)/Makefile.util.am: $(top_srcdir)/Makefile.util.def $(top_srcdir)/Makefile.utilgcry.def $(top_srcdir)/Makefile.tpl
+       cat $(top_srcdir)/Makefile.util.def $(top_srcdir)/Makefile.utilgcry.def | autogen -T $(top_srcdir)/Makefile.tpl | sed -e '/^$$/{N;/^\\n$$/D;}' > $@.new || (rm -f $@.new; exit 1)
        mv $@.new $@
 
 .PRECIOUS: $(top_srcdir)/grub-core/Makefile.core.am
 $(top_srcdir)/grub-core/Makefile.core.am: $(top_srcdir)/grub-core/Makefile.core.def $(top_srcdir)/grub-core/Makefile.gcry.def $(top_srcdir)/Makefile.tpl
        if [ "x$$GRUB_CONTRIB" != x ]; then echo "You need to run ./autogen.sh manually." >&2; exit 1; fi
-       autogen -T $(top_srcdir)/Makefile.tpl $(top_srcdir)/grub-core/Makefile.core.def $(top_srcdir)/grub-core/Makefile.gcry.def | sed -e '/^$$/{N;/^\\n$$/D;}' > $@.new || (rm -f $@.new; exit 1)
+       cat $(top_srcdir)/grub-core/Makefile.core.def $(top_srcdir)/grub-core/Makefile.gcry.def | autogen -T $(top_srcdir)/Makefile.tpl | sed -e '/^$$/{N;/^\\n$$/D;}' > $@.new || (rm -f $@.new; exit 1)
        mv $@.new $@