Skip to content

Commit 0ac5224

Browse files
committed
tooling: Export cloe-launch-profile as part of export and package targets
This also changes the name of the target in the cli Makefile from conan-profile to export, to be orthogonal with the other Makefile.
1 parent e91e768 commit 0ac5224

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ deploy-cli:
7575

7676
.PHONY: export-cli
7777
export-cli:
78-
${MAKE} -C cli conan-profile
78+
${MAKE} -C cli export
79+
80+
export: export-cli
81+
package: export-cli
7982

8083
.PHONY: docs
8184
docs:

cli/Makefile

+5-4
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ help:
2121
echo "Available targets:"
2222
echo " install to install cloe-launch locally"
2323
echo " editable to install cloe-launch locally in editable mode"
24+
echo " export to export cloe-launch-profile Conan python package"
2425

2526
.PHONY: install
26-
install: conan-profile
27+
install: export
2728
command -v ${PIP} >/dev/null 2>&1
2829
# Work-around pip confused by pyproject.toml
2930
-mv pyproject.toml pyproject.toml.bak
@@ -34,7 +35,7 @@ install: conan-profile
3435
mv pyproject.toml.bak pyproject.toml
3536

3637
.PHONY: editable
37-
editable: conan-profile
38+
editable: export
3839
command -v ${PIP} >/dev/null 2>&1
3940
# Work-around pip confused by pyproject.toml
4041
-mv pyproject.toml pyproject.toml.bak
@@ -44,6 +45,6 @@ editable: conan-profile
4445
)
4546
mv pyproject.toml.bak pyproject.toml
4647

47-
.PHONY: conan-profile
48-
conan-profile:
48+
.PHONY: export
49+
export:
4950
conan export .

0 commit comments

Comments
 (0)