diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2017-01-27 18:10:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2017-01-27 18:12:24 +0000 |
commit | 3a6401d7d0a067cc478bbe920d0e703bc06a7078 (patch) | |
tree | bdfecb38e406822f3085abd0db8a295856efae40 /Makefile | |
parent | Updating year in copyright information for 2017. (diff) | |
download | service-tools-3a6401d7d0a067cc478bbe920d0e703bc06a7078.tar.xz service-tools-3a6401d7d0a067cc478bbe920d0e703bc06a7078.zip |
Completing uninstall target in makefile.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |