From: Ben Pfaff Date: Tue, 8 Jun 2010 04:42:25 +0000 (-0700) Subject: po: Avoid passing nonportable -D option to "install" program. X-Git-Tag: v0.7.6~376 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf1cd4a7c145d605c6bd31b26bed1ab70a629205;p=pspp-builds.git po: Avoid passing nonportable -D option to "install" program. OpenBSD "install" and "install-sh" distributed with Autoconf do not support -D, so we should not try to use it. --- diff --git a/po/automake.mk b/po/automake.mk index 3d68a8f2..945e2557 100644 --- a/po/automake.mk +++ b/po/automake.mk @@ -40,7 +40,8 @@ ALL_LOCAL += $(GMOFILES) install-data-hook: $(GMOFILES) for f in $(GMOFILES); do \ lang=`echo $$f | sed -e 's%po/\(.*\)\.gmo%\1%' ` ; \ - $(INSTALL) -D $$f $(DESTDIR)$(prefix)/share/locale/$$lang/LC_MESSAGES/$(DOMAIN).mo ; \ + $(MKDIR_P) $(DESTDIR)$(prefix)/share/locale/$$lang/LC_MESSAGES; \ + $(INSTALL_DATA) $$f $(DESTDIR)$(prefix)/share/locale/$$lang/LC_MESSAGES/$(DOMAIN).mo ; \ done uninstall-hook: