diff options
| author | Pavel Janík | 2001-11-15 20:37:20 +0000 |
|---|---|---|
| committer | Pavel Janík | 2001-11-15 20:37:20 +0000 |
| commit | a4663feda25659a2119c8f60237f28595ab18e4d (patch) | |
| tree | aa913e4a134278585769890cafa1650a01d429a6 /lib-src | |
| parent | 71f94ae1276f0af8c0700bff907b539440a0f996 (diff) | |
| download | emacs-a4663feda25659a2119c8f60237f28595ab18e4d.tar.gz emacs-a4663feda25659a2119c8f60237f28595ab18e4d.zip | |
Add support for --program-prefix, --program-suffix
and --program-transform-name options.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/Makefile.in | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index a4b6b07fc41..592b2de8c03 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -31,6 +31,9 @@ YACC=@YACC@ | |||
| 31 | version=@version@ | 31 | version=@version@ |
| 32 | configuration=@configuration@ | 32 | configuration=@configuration@ |
| 33 | 33 | ||
| 34 | # Program name transformation. | ||
| 35 | TRANSFORM = @program_transform_name@ | ||
| 36 | |||
| 34 | # ==================== Where To Install Things ==================== | 37 | # ==================== Where To Install Things ==================== |
| 35 | 38 | ||
| 36 | # The default location for installation. Everything is placed in | 39 | # The default location for installation. Everything is placed in |
| @@ -296,17 +299,19 @@ install: ${archlibdir} | |||
| 296 | @echo | 299 | @echo |
| 297 | @echo "Installing utilities for users to run." | 300 | @echo "Installing utilities for users to run." |
| 298 | for file in ${INSTALLABLES} ; do \ | 301 | for file in ${INSTALLABLES} ; do \ |
| 299 | $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} ${bindir}/$${file} ; \ | 302 | $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} ${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ |
| 300 | chmod a+rx ${bindir}/$${file}; \ | 303 | chmod a+rx ${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \ |
| 301 | done | 304 | done |
| 302 | for file in ${INSTALLABLE_SCRIPTS} ; do \ | 305 | for file in ${INSTALLABLE_SCRIPTS} ; do \ |
| 303 | $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file} ; \ | 306 | $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ |
| 304 | chmod a+rx ${bindir}/$${file}; \ | 307 | chmod a+rx ${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \ |
| 305 | done | 308 | done |
| 306 | 309 | ||
| 307 | uninstall: | 310 | uninstall: |
| 308 | (cd ${bindir}; \ | 311 | (cd ${bindir}; \ |
| 309 | rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}) | 312 | for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}; do \ |
| 313 | rm -f ${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ | ||
| 314 | done) | ||
| 310 | (cd ${archlibdir}; \ | 315 | (cd ${archlibdir}; \ |
| 311 | rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}) | 316 | rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}) |
| 312 | 317 | ||