Copy uninstall target in po/Makefile from girara.

This commit is contained in:
Sebastian Ramacher 2012-03-07 15:32:11 +01:00
parent dfd2f5bec7
commit 904bc8cfcb
2 changed files with 7 additions and 0 deletions

View file

@ -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)

View file

@ -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