summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-01-27 18:10:30 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-01-27 18:12:24 +0000
commit3a6401d7d0a067cc478bbe920d0e703bc06a7078 (patch)
treebdfecb38e406822f3085abd0db8a295856efae40
parentUpdating year in copyright information for 2017. (diff)
downloadservice-tools-3a6401d7d0a067cc478bbe920d0e703bc06a7078.tar.xz
service-tools-3a6401d7d0a067cc478bbe920d0e703bc06a7078.zip
Completing uninstall target in makefile.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
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