summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-01-27 18:13:03 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2017-01-27 18:13:03 +0000
commit8128d8d583ce2ebd1b6cac74fe64759803c87e8f (patch)
treebca6058d2ff426b0c651aa710a38953d1574c3d8 /Makefile
parentCompleting uninstall target in makefile. (diff)
downloadservice-tools-8128d8d583ce2ebd1b6cac74fe64759803c87e8f.tar.xz
service-tools-8128d8d583ce2ebd1b6cac74fe64759803c87e8f.zip
Shortening manpage parts in uninstall target in makefile.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 535a386..b5a3a47 100644
--- a/Makefile
+++ b/Makefile
@@ -83,10 +83,7 @@ uninstall:
do \
for FILE in share/man/*.$${SECTION}; \
do \
- if [ -e "$${FILE}" ]; \
- then \
- rm -f $(DESTDIR)/usr/share/man/man$${SECTION}/$$(basename $${FILE}); \
- fi; \
+ rm -f $(DESTDIR)/usr/share/man/man$${SECTION}/$$(basename $${FILE}); \
done; \
rmdir --ignore-fail-on-non-empty --parents $(DESTDIR)/usr/share/man/man$${SECTION} || true; \
done