From 898dc536c6237f37e87510e25bbf18fd08f4f545 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 10 May 2004 11:39:51 +0000 Subject: [PATCH] (localedir.h rule): Generate correct DEFAULT_RMT_COMMAND variable. --- src/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index c1d7699..c391c3a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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) -- 2.45.2