From: Robert Yang <[email protected]>

Fixed:
rm -f src/yacc src/yacc.tmp
echo '#! /bin/sh' >src/yacc.tmp
/bin/bash: src/yacc.tmp: No such file or directory
Makefile:6670: recipe for target 'src/yacc' failed

Signed-off-by: Robert Yang <[email protected]>
Signed-off-by: Dengke Du <[email protected]>
---
 src/local.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/local.mk b/src/local.mk
index 573ad00..28bfae4 100644
--- a/src/local.mk
+++ b/src/local.mk
@@ -119,6 +119,7 @@ MOSTLYCLEANFILES += src/yacc
 
 src/yacc:
        $(AM_V_GEN)rm -f $@ [email protected]
+       $(AM_V_at)$(MKDIR_P) src
        $(AM_V_at)echo '#! /bin/sh' >[email protected]
        $(AM_V_at)echo "exec '$(bindir)/bison' -y "'"$$@"' >>[email protected]
        $(AM_V_at)chmod a+x [email protected]
-- 
2.8.1


Reply via email to