diff options
author | P. J. McDermott <pjm@nac.net> | 2012-10-08 11:01:11 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-10-08 11:01:11 (EDT) |
commit | fa70845cb96e63e5ba333a2b5cb22a0daf6bd4e4 (patch) | |
tree | b742fe9a9b95fa44a22ff06b657fbeb7d6dd253c | |
parent | a93c5c1fbf968097aedeb4d4d334a5e902d84c04 (diff) |
Rm package and metadata module dirs on uninstall.
-rw-r--r-- | lib/metadata/Makefile.in | 1 | ||||
-rw-r--r-- | lib/package/Makefile.in | 1 |
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)' |