Skip to content
Snippets Groups Projects
Commit 686fc096 authored by Andre Maroneze's avatar Andre Maroneze Committed by Allan Blanchard
Browse files

add informative messages during make install/uninstall

parent 385adb76
No related branches found
No related tags found
No related merge requests found
...@@ -40,6 +40,7 @@ install: ...@@ -40,6 +40,7 @@ install:
ifeq ($(INSTALLDIR),) ifeq ($(INSTALLDIR),)
dune install dune install
else else
@echo "Installing to prefix: ${INSTALLDIR}"
dune install --prefix ${INSTALLDIR} dune install --prefix ${INSTALLDIR}
@echo 'DO NOT FORGET TO EXPAND YOUR OCAMLPATH VARIABLE:' @echo 'DO NOT FORGET TO EXPAND YOUR OCAMLPATH VARIABLE:'
@echo ' export OCAMLPATH="${INSTALLDIR}/lib:$$OCAMLPATH"' @echo ' export OCAMLPATH="${INSTALLDIR}/lib:$$OCAMLPATH"'
...@@ -49,5 +50,6 @@ uninstall: ...@@ -49,5 +50,6 @@ uninstall:
ifeq ($(INSTALLDIR),) ifeq ($(INSTALLDIR),)
dune uninstall dune uninstall
else else
@echo "Uninstalling from prefix: ${INSTALLDIR}"
dune uninstall --prefix ${INSTALLDIR} dune uninstall --prefix ${INSTALLDIR}
endif endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment