From a66a577977d5747ef4fcb73b1d139b77a79db80e Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 02 Aug 2012 22:41:39 -0400 Subject: Portably install, set better file modes. The install utility is not required by POSIX, and it's easily replaced by mkdir, cp, and chmod. Libraries, locales, and manual pages should not be executable. --- (limited to 'locale') diff --git a/locale/Makefile.in b/locale/Makefile.in index bf16dae..1e08b0d 100644 --- a/locale/Makefile.in +++ b/locale/Makefile.in @@ -51,7 +51,9 @@ clean: install: all @for obj in $(OBJS); do \ printf ' INSTALL locale/%s\n' "$${obj}"; \ - $(INSTALL) -D "$${obj}" "$(DESTDIR)/$(localedir)/$${obj}"; \ + mkdir -p '$(DESTDIR)/$(localedir)'; \ + cp "$${obj}" "$(DESTDIR)/$(localedir)/$${obj}"; \ + chmod 644 "$(DESTDIR)/$(localedir)/$${obj}"; \ done uninstall: -- cgit v0.9.1