summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-06-14 19:08:15 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-06-14 19:08:15 +0000
commit16a5560342cb025d6940ca3cc2dae0ebb7722615 (patch)
treedac50f88a546cda0290da8222468c86502b99551
parentMaking makefile more generic. (diff)
downloadcompute-tools-16a5560342cb025d6940ca3cc2dae0ebb7722615.tar.xz
compute-tools-16a5560342cb025d6940ca3cc2dae0ebb7722615.zip
Completing cleanup of directories in makefile uninstall target.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index de6c15a..f9ab39e 100644
--- a/Makefile
+++ b/Makefile
@@ -135,6 +135,10 @@ uninstall:
rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/etc/${SOFTWARE}/config || true
rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/etc/${SOFTWARE}/debconf || true
+ rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/etc/${SOFTWARE} || true
+ rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/etc || true
+
+ rmdir --ignore-fail-on-non-empty --parents $(DESTDIR) || true
clean:
$(MAKE) -C share/man clean