X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=po%2Fautomake.mk;h=5d207682c3d3fe8079c5ebc179eb816917ae8e17;hb=5ae2fd5298d9c40f28ffcad764f1f1cf3489ff16;hp=6c465a183e84dfa56ac9ee76b619cb75c6e303f8;hpb=a3e57d44a2c49305a1f6ba5652a0ca0a83123c48;p=pspp diff --git a/po/automake.mk b/po/automake.mk index 6c465a183e..5d207682c3 100644 --- a/po/automake.mk +++ b/po/automake.mk @@ -94,12 +94,13 @@ install-data-hook: $(GMOFILES) $(INSTALL_DATA) $$f $(DESTDIR)$(prefix)/share/locale/$$lang/LC_MESSAGES/$(DOMAIN).mo ; \ done -uninstall-hook: +uninstall-hook: uninstall-gmofiles +uninstall-gmofiles: for f in $(GMOFILES); do \ lang=`echo $$f | $(SED) -e 's%po/\(.*\)\.gmo%\1%' ` ; \ rm -f $(DESTDIR)$(prefix)/share/locale/$$lang/LC_MESSAGES/$(DOMAIN).mo ; \ done - +.PHONY: uninstall-gmofiles EXTRA_DIST += \ $(LOCALPOFILES) \