diff options
author | Richard M. Stallman <[email protected]> | 1993-12-24 02:18:42 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1993-12-24 02:18:42 +0000 |
commit | 80fce268568411772f8aa0f75cc1d1c25d688663 (patch) | |
tree | 580b8e74115271ea8c84ff5245e605b6b2df45f8 /lib-src | |
parent | 3f628ebde46e9f587145dfb7e7b55ffccfa7df09 (diff) |
(${archlibdir}, install): Use $(INSTALL_PROGRAM)
for all executables and scripts.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/Makefile.in | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 3c08b554f2..e9b6f5e929 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in @@ -118,31 +118,22 @@ ${archlibdir}: all if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ for file in ${UTILITIES}; do \ $(INSTALL_PROGRAM) $$file ${archlibdir}/$$file ; \ - chmod 755 ${archlibdir}/$$file ; \ done ; \ for file in ${SCRIPTS}; do \ $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file ; \ - chmod 755 ${archlibdir}/$$file ; \ done ; \ fi # We don't need to install `wakeup' explicitly, because it will be copied when # this whole directory is copied. -# We use .n, not .new as before, to avoid exceeding the 14-character limit. install: ${archlibdir} @echo @echo "Installing utilities for users to run." for file in ${INSTALLABLES} ; do \ - cp $${file} ${bindir}/$${file}.n ; \ - chmod 755 ${bindir}/$${file}.n ; \ + $(INSTALL_PROGRAM) $${file} ${bindir}/$${file} ; \ done for file in ${INSTALLABLE_SCRIPTS} ; do \ - cp ${srcdir}/$${file} ${bindir}/$${file}.n ; \ - chmod 755 ${bindir}/$${file}.n ; \ - done - -for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS} ; do \ - rm -f ${bindir}/$${file} ; \ - mv ${bindir}/$${file}.n ${bindir}/$${file} ; \ + $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file} ; \ done uninstall: |