From 53d8e5d15564a8955b3b5a2e954eb6b13fc4d6af Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 23 Oct 2013 16:32:09 -0400 Subject: Makefile.am: New "uninstall-local" target. --- (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 10ae841..bcf60b7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -67,6 +67,14 @@ install-data-local: $(locale_MESSAGES) exit $$?; \ done +uninstall-local: + @$(NORMAL_UNINSTALL) + for f in $(locale_MESSAGES); do \ + ff="$${f#*/}"; \ + dir="$(DESTDIR)$(localedir)/$${f%.ms}/LC_MESSAGES"; \ + rm -f "$${dir}/$(textdomain).ms"; \ + done + really-clean: distclean rm -Rf $(srcdir)/aclocal.m4 $(srcdir)/autom4te.cache/ \ $(srcdir)/configure \ -- cgit v0.9.1