Skip to content

Commit b17222e

Browse files
committed
New rule "install_docs" to build the documentation.
1 parent 8159ebd commit b17222e

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

Makefile.LIP6

+12-2
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,12 @@ $(CORIOLIS_SRC)/.pdm-plugins/bin/pdm: $(HOME)/.local/bin/pdm
6363
@$(localpath) pdm install --no-self -d --plugins
6464

6565

66-
install: check_dir $(CORIOLIS_SRC)/.pdm-plugins/bin/pdm
66+
configure:
6767
@$(localpath) pdm run meson setup ${BUILDDIR} --prefix=$(PREFIX) -Dpython.install_env=prefix
68-
@$(localpath) pdm run ninja -C $(BUILDDIR) install
68+
69+
70+
install: check_dir $(CORIOLIS_SRC)/.pdm-plugins/bin/pdm configure
71+
@$(localpath) pdm run meson install -C $(BUILDDIR)
6972
@echo ""; \
7073
echo "============================================================================"; \
7174
echo "Coriolis has been successfully built"; \
@@ -75,6 +78,13 @@ install: check_dir $(CORIOLIS_SRC)/.pdm-plugins/bin/pdm
7578
echo "============================================================================";
7679

7780

81+
install_docs: check_dir $(CORIOLIS_SRC)/.pdm-plugins/bin/pdm configure
82+
@$(localpath) pdm run meson configure ${BUILDDIR} --prefix=$(PREFIX) \
83+
-Donly-docs=true \
84+
-Ddocs=true
85+
@$(localpath) pdm run meson install -C $(BUILDDIR)
86+
87+
7888
install_alliance:
7989
export ALLIANCE_TOP=$(PREFIX); \
8090
export LD_LIBRARY_PATH=$(PREFIX)/lib:$(LD_LIBRARY_PATH); \

0 commit comments

Comments
 (0)