From: David MacKenzie Date: Wed, 19 Oct 1994 05:42:42 +0000 (+0000) Subject: use program_transform_name X-Git-Tag: fsf-origin~383 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=067b137802268293403dd3beb89e06ed76be5bf9;p=thirdparty%2Fautoconf.git use program_transform_name --- diff --git a/Makefile.in b/Makefile.in index feb407af1..aff1f702d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -33,6 +33,8 @@ PROGS = $(APROGS) @PROGS@ # Path of the perl interpreter. PERL = @PERL@ +transform=@program_transform_name@ + prefix = @prefix@ exec_prefix = @exec_prefix@ @@ -124,14 +126,14 @@ install: all $(M4FILES) acconfig.h installdirs install-info *traditional*) ;; \ *) echo Error: Autoconf requires GNU m4 1.1 or later; exit 1 ;; \ esac - for i in $(APROGS); do \ - $(INSTALL_PROGRAM) $$i $(bindir)/$$i; \ + for p in $(APROGS); do \ + $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \ done for i in $(M4FILES) acconfig.h; do \ $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \ done -if test -f autoscan; then \ - $(INSTALL_PROGRAM) autoscan $(bindir)/autoscan; \ + $(INSTALL_PROGRAM) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \ for i in acfunctions acheaders acidentifiers acprograms \ acmakevars; do \ $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \ diff --git a/doc/Makefile.in b/doc/Makefile.in index feb407af1..aff1f702d 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -33,6 +33,8 @@ PROGS = $(APROGS) @PROGS@ # Path of the perl interpreter. PERL = @PERL@ +transform=@program_transform_name@ + prefix = @prefix@ exec_prefix = @exec_prefix@ @@ -124,14 +126,14 @@ install: all $(M4FILES) acconfig.h installdirs install-info *traditional*) ;; \ *) echo Error: Autoconf requires GNU m4 1.1 or later; exit 1 ;; \ esac - for i in $(APROGS); do \ - $(INSTALL_PROGRAM) $$i $(bindir)/$$i; \ + for p in $(APROGS); do \ + $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \ done for i in $(M4FILES) acconfig.h; do \ $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \ done -if test -f autoscan; then \ - $(INSTALL_PROGRAM) autoscan $(bindir)/autoscan; \ + $(INSTALL_PROGRAM) autoscan $(bindir)/`echo autoscan|sed '$(transform)'`; \ for i in acfunctions acheaders acidentifiers acprograms \ acmakevars; do \ $(INSTALL_DATA) $(srcdir)/$$i $(acdatadir)/$$i; \