From 3a6401d7d0a067cc478bbe920d0e703bc06a7078 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 27 Jan 2017 19:10:30 +0100 Subject: Completing uninstall target in makefile. Signed-off-by: Daniel Baumann --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index 3c42fab..535a386 100644 --- a/Makefile +++ b/Makefile @@ -91,6 +91,18 @@ uninstall: rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/usr/share/man/man$${SECTION} || true; \ done + for FILE in share/apache/conf/*; \ + do \ + rm -f $(DESTDIR)/etc/apache2/conf-available/$$(basename $${FILE}); \ + done + rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/etc/apache2/conf-available || true + + for FILE in share/apache/mods/*; \ + do \ + rm -f $(DESTDIR)/etc/apache2/mods-available/$$(basename $${FILE}); \ + done + rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/etc/apache2/mods-available || true + rm -rf $(DESTDIR)/usr/share/$(SOFTWARE)/* rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/usr/share/$(SOFTWARE) || true -- cgit v1.2.3