[PATCH] doc: fix parallel build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The sgml file generation needs a local edit-sgml helper, but doesn't
depend on it, so when you build in parallel, it could fail like so:
...
make[2]: Entering directory '.../fontconfig/doc'
ln -s fontconfig-devel.sgml local-fontconfig-devel.sgml
rm -f fcatomic.sgml
rm -f fcblanks.sgml
rm -f fccache.sgml
./edit-sgml ./func.sgml < 'fcatomic.fncs' > fcatomic.sgml
  CC     edit-sgml.o
./edit-sgml ./func.sgml < 'fccache.fncs' > fccache.sgml
./edit-sgml ./func.sgml < 'fcblanks.fncs' > fcblanks.sgml
/bin/sh: ./edit-sgml: No such file or directory
make[2]: *** [fcatomic.sgml] Error 127
make[2]: *** Waiting for unfinished jobs....
/bin/sh: ./edit-sgml: No such file or directory
/bin/sh: ./edit-sgml: No such file or directory
make[2]: *** [fccache.sgml] Error 127
make[2]: *** [fcblanks.sgml] Error 127
make[2]: Leaving directory '.../fontconfig/doc'
...

Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
---
 doc/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 8d7d5c8..cfbe87a 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -102,7 +102,7 @@ if CROSS_COMPILING
 .fncs.sgml:
 	@echo Warning: cannot rebuild $@ when cross-compiling
 else
-.fncs.sgml:
+.fncs.sgml: $(noinst_PROGRAMS)
 	$(RM) $@
 	./edit-sgml$(EXEEXT) $(FNCS_TMPL) < '$<' > $*.sgml
 endif
-- 
1.7.6.1

_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig


[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux