summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index b13f688..7cd067b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -199,7 +199,7 @@ install-locale:
done
uninstall: uninstall-exec uninstall-data
-uninstall-exec: uninstall-bin uninstall-pkglib uninstall-pkglibbuildsystem
+uninstall-exec: uninstall-bin uninstall-pkglibbuildsystem uninstall-pkglib
uninstall-bin:
@for f in $(bin); do \
printf ' RM %s\n' "$${f}"; \
@@ -212,12 +212,14 @@ uninstall-pkglib:
ff="$$(basename "$${f}")"; \
rm -f "$(DESTDIR)/$(pkglibdir)/$${ff}"; \
done
+ @rmdir '$(DESTDIR)/$(pkglibdir)'
uninstall-pkglibbuildsystem:
@for f in $(pkglibbuildsystem); do \
printf ' RM %s\n' "$${f}"; \
ff="$$(basename "$${f}")"; \
rm -f "$(DESTDIR)/$(pkglibbuildsystemdir)/$${ff}"; \
done
+ @rmdir '$(DESTDIR)/$(pkglibbuildsystemdir)'
uninstall-data: uninstall-man1 uninstall-locale
uninstall-man1:
@for f in $(man1); do \