From 20f6c4c9f2733d6bf817199c60958618c274dce4 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 1 Feb 2022 19:23:27 +0100 Subject: added an uninstall target to the top-level Makefile --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Makefile b/Makefile index 8d48e2f..f8f2374 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,19 @@ install-profiles: install-doc: install -vDm 644 $(DOC_FILES) -t $(DOC_DIR) +uninstall: uninstall-scripts uninstall-profiles uninstall-doc + +uninstall-scripts: + -rm -rf "${BIN_DIR}/mkarchiso" + -rm -rf "${BIN_DIR}/run_archiso" + +uninstall-profiles: + -rm -rf "${PROFILE_DIR}" + +uninstall-doc: + -rm -rf "${DOC_DIR}" + + V=$(shell git describe --exact-match) dist: -- cgit v1.2.3-70-g09d2