From bf1cd4a7c145d605c6bd31b26bed1ab70a629205 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 7 Jun 2010 21:42:25 -0700 Subject: [PATCH] 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. --- po/automake.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.30.2