Switch from recursive to non-recursive use of Gnulib.
[pspp] / po / automake.mk
index 6c465a183e84dfa56ac9ee76b619cb75c6e303f8..5d207682c3d3fe8079c5ebc179eb816917ae8e17 100644 (file)
@@ -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) \