star-build

Automation tool for project installation
git clone git://git.meso-star.fr/star-build.git
Log | Files | Refs | README | LICENSE

commit 59452cd431a8619deea02b34e0f1a3f36ab37a9c
parent 11eb9ba4227ad56cf677b04c8b9980147078d2d3
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Tue, 18 Jul 2023 17:07:55 +0200

sleef.mk: make uninstall target verbose

Sleef uses CMake which does not provide an uninstallation target: you
must first install the project to generate the install_manifest.txt file
which contains the list of installed files. So the sleef.mk uninstall
target forces the sleef install to use the contents of
install_manifest.txt to remove the correct files (horrible...). Until
now, the pre-installation step was silent while it can take a long time
since Sleef could be compiled from scratch (really horrible...). As a
result, the user could wait in front of a terminal where nothing was
happening, and thereby suspect a bug. In this commit, the output of this
pre-installation step is now displayed.

Diffstat:
Msleef.mk | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sleef.mk b/sleef.mk @@ -54,8 +54,8 @@ clean_sleef: uninstall_sleef: fetch_sleef prefix @prefix=$$(cat .prefix) &&\ cd -- "$(SLEEF_DIR)/build" &&\ - cmake -DCMAKE_INSTALL_PREFIX="$${prefix}" .. > /dev/null 2>&1 &&\ - make install > /dev/null + cmake -DCMAKE_INSTALL_PREFIX="$${prefix}" .. &&\ + make install xargs rm -f < $(SLEEF_DIR)/build/install_manifest.txt distclean_sleef: