* lib/am/yacc.am, lib/am/lex.am: Use $(am__ensure_dir_exists) instead
of hand-rolled poor-man equivalent to ensure the directory of the
target exists.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
?GENERIC?%%DERIVED-EXT%: %%EXT%
?!GENERIC?%OBJ%: %SOURCE%
- %SILENT%test -d $(dir $@) || $(MKDIR_P) $(dir $@)
+ %SILENT%$(am__ensure_target_dir_exists)
?GENERIC? %VERBOSE%$(am.lex.maybe-skip) \
?!GENERIC??DIST_SOURCE? %VERBOSE%$(am.lex.maybe-skip) \
$(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c %OBJ% -- %COMPILE%
?GENERIC?%%DERIVED-EXT%: %%EXT%
?!GENERIC?%OBJ%: %SOURCE%
- %SILENT%test -d $(dir $@) || $(MKDIR_P) $(dir $@)
+ %SILENT%$(am__ensure_target_dir_exists)
%VERBOSE% \
?GENERIC? $(am.yacc.maybe-skip) \
?!GENERIC??DIST_SOURCE? $(am.yacc.maybe-skip) \