From: Roy Li <rongqing...@windriver.com> If build dir is not same as the source code, make the target .in wrong due to no dir: vswitchd/ovs-vswitchd.conf.db.5.tmp: No such file or directory
The target .in has not dependency, but in fact, it needs other target to create the dir to put its result, like builddir/vswitchd in below: /usr/bin/perl soexpand.pl < ${S}/vswitchd/ovs-vswitchd.8.in | \ sed \ -e 's,[@]PKIDIR[@],/var/lib/openvswitch/pki,g' \ ...... > vswitchd/ovs-vswitchd.8.tmp fix it by creating the dir in .in target Signed-off-by: Roy Li <rongqing...@windriver.com> --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index a659814..41455c3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -155,6 +155,7 @@ ro_shell = printf '\043 Generated automatically -- do not modify! -*- buffer- SUFFIXES += .in .in: + [ -d $(dir $@) ] || ${MKDIR_P} $(dir $@); \ $(AM_V_GEN)$(PERL) $(srcdir)/build-aux/soexpand.pl -I$(srcdir) < $< | \ sed \ -e 's,[@]PKIDIR[@],$(PKIDIR),g' \ -- 1.9.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev