From fa70845cb96e63e5ba333a2b5cb22a0daf6bd4e4 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 08 Oct 2012 11:01:11 -0400 Subject: Rm package and metadata module dirs on uninstall. --- (limited to 'lib') 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)' -- cgit v0.9.1