From 904bc8cfcb7508bda74ac812b12a48c53c5de4f5 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Wed, 7 Mar 2012 15:32:11 +0100 Subject: [PATCH] Copy uninstall target in po/Makefile from girara. --- Makefile | 1 + po/Makefile | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 24d2919..0618cd3 100644 --- a/Makefile +++ b/Makefile @@ -149,6 +149,7 @@ uninstall: $(QUIET)rm -f ${DESTDIR}${DESKTOPPREFIX}/${PROJECT}.desktop $(ECHO) removing pkgconfig file $(QUIET)rm -f ${DESTDIR}${PREFIX}/lib/pkgconfig/${PROJECT}.pc + $(MAKE) -C po install -include $(wildcard .depend/*.dep) diff --git a/po/Makefile b/po/Makefile index 0a8c2bb..6b52e94 100644 --- a/po/Makefile +++ b/po/Makefile @@ -38,3 +38,9 @@ install: ${MOS} mkdir -p $(DESTDIR)$(LOCALEDIR)/`dirname $$f`; \ install -m 644 $$f $(DESTDIR)$(LOCALEDIR)/`dirname $$f` ; \ done + +uninstall: ${MOS} + $(ECHO) removing translations + $(QUIET)set -e && for f in $^ ; do \ + rm -f $(LOCALEDIR)/$$f; \ + done