Skip to content

Commit

Permalink
Fix make to include line-continuations
Browse files Browse the repository at this point in the history
  • Loading branch information
thockin committed Jul 15, 2016
1 parent e967a77 commit 31badf0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile.generated_files
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,9 @@ $(META_DIR)/$(DEEPCOPY_GEN).mk:
./cmd/libs/go2idl/deepcopy-gen \
| grep "^$(PRJ_SRC_PATH)" \
| xargs go list -e -f '{{.Dir}} {{.Dir}}/*.go'); \
echo $$DIRECT $$INDIRECT | sed 's/ / =,/g' | tr '=,' '\n\t'; \
echo $$DIRECT $$INDIRECT \
| sed 's/ / \\=,/g' \
| tr '=,' '\n\t'; \
) | sed "s|$$(pwd -P)/||" > [email protected]; \
cmp -s [email protected] $@ || cat [email protected] > $@ && rm -f [email protected]

Expand Down Expand Up @@ -420,7 +422,9 @@ $(META_DIR)/$(CONVERSION_GEN).mk:
./cmd/libs/go2idl/conversion-gen \
| grep "^$(PRJ_SRC_PATH)" \
| xargs go list -e -f '{{.Dir}} {{.Dir}}/*.go'); \
echo $$DIRECT $$INDIRECT | sed 's/ / =,/g' | tr '=,' '\n\t'; \
echo $$DIRECT $$INDIRECT \
| sed 's/ / \\=,/g' \
| tr '=,' '\n\t'; \
) | sed "s|$$(pwd -P)/||" > [email protected]; \
cmp -s [email protected] $@ || cat [email protected] > $@ && rm -f [email protected]

Expand Down

0 comments on commit 31badf0

Please sign in to comment.