From 4675b610d063bd155105b62c067b0d1b612580a2 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 02 Nov 2013 22:18:01 -0400 Subject: Makefile.am: Add uninstall-hook. --- diff --git a/Makefile.am b/Makefile.am index 2dfb0d9..a937015 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,6 +28,13 @@ DISTCLEANFILES = EXTRA_DIST = \ autogen.sh +uninstall-hook: + for dir in '$(DESTDIR)$(mapsdir)' '$(DESTDIR)$(tilesetsdir)'; do \ + if [ -d "$${dir}" ]; then \ + rmdir "$${dir}"; \ + fi; \ + done + .xcf.png: $(XCF2PNG) -f -o $@ $< -- cgit v0.9.1