Skip to content

Commit c8d7949

Browse files
committed
[PBCKP-245] make Makefile more portable
It is hard to consider all 'echo in makefile shell' variants. Mingw's one doesn't process escape sequence. That is why it is better to use raw TAB symbol.
1 parent ea63be4 commit c8d7949

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ borrowed.mk: $(firstword $(MAKEFILE_LIST))
9797
$(file >$@,# This file is autogenerated. Do not edit!)
9898
$(foreach borrowed_file, $(BORROWED_H_SRC) $(BORROWED_C_SRC), \
9999
$(file >>$@,$(addprefix $(BORROW_DIR)/, $(notdir $(borrowed_file))): | $(CURDIR)/$(BORROW_DIR)/ $(realpath $(top_srcdir)/$(borrowed_file))) \
100-
$(file >>$@,$(shell echo "\t"'$$(LN_S) $(realpath $(top_srcdir)/$(borrowed_file)) $$@')) \
100+
$(file >>$@,$(shell echo " "'$$(LN_S) $(realpath $(top_srcdir)/$(borrowed_file)) $$@')) \
101101
)
102102
include borrowed.mk
103103

0 commit comments

Comments
 (0)