Commit 904bc8cf authored by Sebastian Ramacher's avatar Sebastian Ramacher
Browse files

Copy uninstall target in po/Makefile from girara.

parent dfd2f5be
......@@ -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)
......
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment