From da3f3e0b3ba1a283787845d1553c5bb1a096533f Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 2 Sep 2004 13:53:18 +0000 Subject: [PATCH] Install rmt into rmtdir --- src/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index c391c3a..0e813f3 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -19,7 +19,8 @@ ## 02111-1307, USA. bin_PROGRAMS = tar -libexec_PROGRAMS = @RMT@ +rmtdir=$(DEFAULT_RMT_DIR) +rmt_PROGRAMS = @RMT@ EXTRA_PROGRAMS = rmt noinst_HEADERS = arith.h common.h rmt.h system.h tar.h @@ -50,7 +51,7 @@ DISTCLEANFILES = localedir.h localedir.h : Makefile echo '#define LOCALEDIR "$(localedir)"' >$@ echo "#ifndef DEFAULT_RMT_COMMAND" >> $@ - echo "# define DEFAULT_RMT_COMMAND \"$(libexecdir)/`echo \"rmt\" | sed 's,^.*/,,;$(transform)'`$(EXEEXT)\"" >> $@ + echo "# define DEFAULT_RMT_COMMAND \"$(rmtdir)/`echo \"rmt\" | sed 's,^.*/,,;$(transform)'`$(EXEEXT)\"" >> $@ echo "#endif" >> $@ rmt.o tar.o : localedir.h -- 2.45.2