From 93e9c669fce3edc15691cd9546e67e7c5cbf6d22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Mogu=C3=A9rou?= Date: Sat, 30 Oct 2021 15:36:05 +0200 Subject: [PATCH] Changements sur le Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Ajout de l'argument '-p' pour les commandes install - Ajout de ldconfig pour la règle uninstall --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ec6131f..179f8bb 100644 --- a/Makefile +++ b/Makefile @@ -25,12 +25,14 @@ mrproper: clean install: bin/libcatwalk.so @mkdir -p /usr/local/include/catwalk/ - install include/*.h /usr/local/include/catwalk/ + install -p include/*.h /usr/local/include/catwalk/ @mkdir -p /usr/local/lib - install bin/libcatwalk.so /usr/local/lib/ + install -p bin/libcatwalk.so /usr/local/lib/ # configuration of links ldconfig /usr/local/lib/libcatwalk.so uninstall: -rm -rf /usr/local/include/catwalk -rm -f /usr/local/lib/libcatwalk.so + # reconfiguration of links + ldconfig /usr/local/lib/libcatwalk.so