diff options
author | P. J. McDermott <pjm@nac.net> | 2012-08-02 22:41:39 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-08-02 22:41:39 (EDT) |
commit | a66a577977d5747ef4fcb73b1d139b77a79db80e (patch) | |
tree | 2ff51ad72cb110f77744e88950639e4a385c7084 /src | |
parent | b0362c0b23057f3fcfd9c41d5e6c7082758a3c1e (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 22c115c..7740e13 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -63,7 +63,9 @@ clean: install: all @for obj in $(OBJS); do \ printf ' INSTALL src/%s\n' "$${obj}"; \ - $(INSTALL) -D "$${obj}" "$(DESTDIR)/$(bindir)/$${obj}"; \ + mkdir -p '$(DESTDIR)/$(bindir)'; \ + cp "$${obj}" "$(DESTDIR)/$(bindir)/$${obj}"; \ + chmod 755 "$(DESTDIR)/$(bindir)/$${obj}"; \ done uninstall: |