31 |
version=@version@ |
version=@version@ |
32 |
configuration=@configuration@ |
configuration=@configuration@ |
33 |
|
|
34 |
|
# Program name transformation. |
35 |
|
TRANSFORM = @program_transform_name@ |
36 |
|
|
37 |
# ==================== Where To Install Things ==================== |
# ==================== Where To Install Things ==================== |
38 |
|
|
39 |
# The default location for installation. Everything is placed in |
# The default location for installation. Everything is placed in |
299 |
@echo |
@echo |
300 |
@echo "Installing utilities for users to run." |
@echo "Installing utilities for users to run." |
301 |
for file in ${INSTALLABLES} ; do \ |
for file in ${INSTALLABLES} ; do \ |
302 |
$(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} ${bindir}/$${file} ; \ |
$(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} ${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ |
303 |
chmod a+rx ${bindir}/$${file}; \ |
chmod a+rx ${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \ |
304 |
done |
done |
305 |
for file in ${INSTALLABLE_SCRIPTS} ; do \ |
for file in ${INSTALLABLE_SCRIPTS} ; do \ |
306 |
$(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/$${file} ; \ |
$(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ |
307 |
chmod a+rx ${bindir}/$${file}; \ |
chmod a+rx ${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \ |
308 |
done |
done |
309 |
|
|
310 |
uninstall: |
uninstall: |
311 |
(cd ${bindir}; \ |
(cd ${bindir}; \ |
312 |
rm -f ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}) |
for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}; do \ |
313 |
|
rm -f ${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ |
314 |
|
done) |
315 |
(cd ${archlibdir}; \ |
(cd ${archlibdir}; \ |
316 |
rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}) |
rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}) |
317 |
|
|