summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/metadata/Makefile.in1
-rw-r--r--lib/package/Makefile.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/metadata/Makefile.in b/lib/metadata/Makefile.in
index 9e0b266..4f9642b 100644
--- a/lib/metadata/Makefile.in
+++ b/lib/metadata/Makefile.in
@@ -61,6 +61,7 @@ uninstall:
printf ' RM %s\n' "$${obj}"; \
rm -f "$(DESTDIR)/$(libopkbuild)/metadata/$${obj}"; \
done
+ @rmdir '$(DESTDIR)/$(libopkbuild)/metadata' 2>/dev/null || true
$(distdir):
@mkdir -p '$(distdir)'
diff --git a/lib/package/Makefile.in b/lib/package/Makefile.in
index 804edbc..98cd9f0 100644
--- a/lib/package/Makefile.in
+++ b/lib/package/Makefile.in
@@ -61,6 +61,7 @@ uninstall:
printf ' RM %s\n' "$${obj}"; \
rm -f "$(DESTDIR)/$(libopkbuild)/package/$${obj}"; \
done
+ @rmdir '$(DESTDIR)/$(libopkbuild)/package' 2>/dev/null || true
$(distdir):
@mkdir -p '$(distdir)'