parallel build fix for utils

This commit is contained in:
BVK Chaitanya 2010-08-15 21:09:37 +05:30
parent db4122ba30
commit 0a4fc180ec
2 changed files with 2 additions and 2 deletions

View file

@ -342,8 +342,7 @@ def installdir(default="bin"):
def manpage(): def manpage():
r = "if COND_MAN_PAGES\n" r = "if COND_MAN_PAGES\n"
r += gvar_add("man_MANS", "[+ name +].[+ mansection +]\n") r += gvar_add("man_MANS", "[+ name +].[+ mansection +]\n")
r += rule("[+ name +].[+ mansection +]", "", """ r += rule("[+ name +].[+ mansection +]", "[+ name +]", """
$(MAKE) $(AM_MAKEFLAGS) [+ name +]
chmod a+x [+ name +] chmod a+x [+ name +]
PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +] PATH=$(builddir):$$PATH $(HELP2MAN) --section=[+ mansection +] -i $(top_srcdir)/docs/man/[+ name +].h2m -o $@ [+ name +]
""") """)

View file

@ -60,6 +60,7 @@ CCAS=$TARGET_CC
grub_CHECK_LINK_DIR grub_CHECK_LINK_DIR
if test x"$link_dir" = xyes ; then if test x"$link_dir" = xyes ; then
AC_CONFIG_LINKS([include/grub/cpu:include/grub/$target_cpu]) AC_CONFIG_LINKS([include/grub/cpu:include/grub/$target_cpu])
mkdir -p lib/target_cpu
cp -r $srcdir/lib/$target_cpu/* lib/target_cpu cp -r $srcdir/lib/$target_cpu/* lib/target_cpu
if test "$platform" != emu ; then if test "$platform" != emu ; then
AC_CONFIG_LINKS([include/grub/machine:include/grub/$target_cpu/$platform]) AC_CONFIG_LINKS([include/grub/machine:include/grub/$target_cpu/$platform])