]> Dogcows Code - chaz/tar/commitdiff
(localedir.h rule): Generate correct DEFAULT_RMT_COMMAND variable.
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 10 May 2004 11:39:51 +0000 (11:39 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 10 May 2004 11:39:51 +0000 (11:39 +0000)
src/Makefile.am

index c1d769969ac3ca4245bc8948d556ac3cbf64cfb7..c391c3a0cec2e9c8ac2267e1d238d8b63f0313f0 100644 (file)
@@ -49,6 +49,10 @@ INCLUDES = -I$(top_srcdir)/lib -I../lib
 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 "#endif" >> $@
+
 rmt.o tar.o : localedir.h
 
 LDADD = ../lib/libtar.a $(LIBINTL)
This page took 0.024983 seconds and 4 git commands to generate.