summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/yacc.prf
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2020-01-13 11:35:43 +0100
committerAndy Shaw <andy.shaw@qt.io>2020-01-13 11:50:02 +0000
commit06a7da3c3d9654748e21efff72db6f85c319ea43 (patch)
tree7cc7e11de66d5365c35a2a0e0e65b4a6d0ce64d7 /mkspecs/features/yacc.prf
parentf2a61f2ce2fa81acb526965d55e5f22d47673b2a (diff)
yacc: Output the path for the move with the right directory separator
Change-Id: Ic075711062750dde3e3a6bc7a5ba8da25ddecfe9 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'mkspecs/features/yacc.prf')
-rw-r--r--mkspecs/features/yacc.prf4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/features/yacc.prf b/mkspecs/features/yacc.prf
index 0c7ff7321e..8acb9bc4bd 100644
--- a/mkspecs/features/yacc.prf
+++ b/mkspecs/features/yacc.prf
@@ -30,8 +30,8 @@ defineReplace(yaccCommands) {
commands = \
-$(DEL_FILE) $${hpp_output} $${cpp_output}$$escape_expand(\\n\\t) \
$${yacc_call}$$escape_expand(\\n\\t) \
- $(MOVE) $${YACC_DIR}/$${QMAKE_YACC_HEADER} $${hpp_output}$$escape_expand(\\n\\t) \
- $(MOVE) $${YACC_DIR}/$${QMAKE_YACC_SOURCE} $${cpp_output}$$escape_expand(\\n\\t)
+ $(MOVE) $$shell_path($${YACC_DIR}/$${QMAKE_YACC_HEADER}) $${hpp_output}$$escape_expand(\\n\\t) \
+ $(MOVE) $$shell_path($${YACC_DIR}/$${QMAKE_YACC_SOURCE}) $${cpp_output}$$escape_expand(\\n\\t)
silent: commands = @echo Yacc $$1 && $$commands
return($$commands)