aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-02 12:17:52 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-02 12:18:48 +0100
commit8f6ebdcc8655f5a568a4ff12a4858556e315abbe (patch)
tree2272dc6a0d2150c68a0995d359112898265a5dc3 /Makefile
parentcmake: prefix the docs target (diff)
downloadwinapi-utf8-8f6ebdcc8655f5a568a4ff12a4858556e315abbe.tar.gz
winapi-utf8-8f6ebdcc8655f5a568a4ff12a4858556e315abbe.zip
Makefile: wrap long commands
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 20 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index df98781..66f5e30 100644
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,11 @@ clean:
rm -rf -- '$(call escape,$(build_dir))'
$(boost_dir)/:
- cd cmake && python3 -m project.boost.download --cache '$(call escape,$(build_dir))' -- '$(call escape,$(BOOST_VERSION))' '$(call escape,$(boost_dir))'
+ cd cmake && python3 -m project.boost.download \
+ --cache '$(call escape,$(build_dir))' \
+ -- \
+ '$(call escape,$(BOOST_VERSION))' \
+ '$(call escape,$(boost_dir))'
.PHONY: deps
ifdef CI
@@ -62,7 +66,12 @@ deps:
cd cmake && python3 -m project.ci.boost -- $(BOOST_LIBRARIES)
else
deps: $(boost_dir)/
- cd cmake && python3 -m project.boost.build --toolset '$(call escape,$(TOOLSET))' --configuration '$(call escape,$(CONFIGURATION))' -- '$(call escape,$(boost_dir))' $(BOOST_LIBRARIES)
+ cd cmake && python3 -m project.boost.build \
+ --toolset '$(call escape,$(TOOLSET))' \
+ --configuration '$(call escape,$(CONFIGURATION))' \
+ -- \
+ '$(call escape,$(boost_dir))' \
+ $(BOOST_LIBRARIES)
endif
.PHONY: build
@@ -70,7 +79,15 @@ build:
ifdef CI
cd cmake && python3 -m project.ci.cmake --install -- $(CMAKE_FLAGS)
else
- cd cmake && python3 -m project.cmake.build --toolset '$(call escape,$(TOOLSET))' --configuration '$(call escape,$(CONFIGURATION))' --build '$(call escape,$(cmake_dir))' --install '$(call escape,$(DESTDIR))' --boost '$(call escape,$(boost_dir))' -- '$(call escape,$(src_dir))' $(CMAKE_FLAGS)
+ cd cmake && python3 -m project.cmake.build \
+ --toolset '$(call escape,$(TOOLSET))' \
+ --configuration '$(call escape,$(CONFIGURATION))' \
+ --build '$(call escape,$(cmake_dir))' \
+ --install '$(call escape,$(DESTDIR))' \
+ --boost '$(call escape,$(boost_dir))' \
+ -- \
+ '$(call escape,$(src_dir))' \
+ $(CMAKE_FLAGS)
endif
.PHONY: install