From 0beac532be8867e715285c32ab184d03f4e78567 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sat, 8 Aug 2020 13:21:38 +0200 Subject: [PATCH] :wrench: Improve uninstall --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d06d293d..dc26b736 100644 --- a/Makefile +++ b/Makefile @@ -106,8 +106,10 @@ install: ${PRG} uninstall: $(info uninstalling ${GWION_PACKAGE} from ${PREFIX}) - @rm -rf ${DESTDIR}/${PREFIX}/bin/${PRG} - @rm -rf ${DESTDIR}/${PREFIX}/include/gwion + @rm ${DESTDIR}/${PREFIX}/bin/${PRG} + @rm ${DESTDIR}/${PREFIX}/lib/lib${PRG}.a + @rm ${DESTDIR}/${PREFIX}/include/gwion/*.h + @rmdir --ignore-fail-on-non-empty ${DESTDIR}/${PREFIX}/include/gwion test: @bash scripts/test.sh ${test_dir} -- 2.43.0