]> Dogcows Code - chaz/tar/commitdiff
Install rmt into rmtdir
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 2 Sep 2004 13:53:18 +0000 (13:53 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 2 Sep 2004 13:53:18 +0000 (13:53 +0000)
src/Makefile.am

index c391c3a0cec2e9c8ac2267e1d238d8b63f0313f0..0e813f3382c4e7ad2106a3c8879c87dcf3d225fa 100644 (file)
@@ -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
This page took 0.026531 seconds and 4 git commands to generate.