From: Sergey Poznyakoff Date: Mon, 10 May 2004 11:39:51 +0000 (+0000) Subject: (localedir.h rule): Generate correct DEFAULT_RMT_COMMAND variable. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=898dc536c6237f37e87510e25bbf18fd08f4f545;p=chaz%2Ftar (localedir.h rule): Generate correct DEFAULT_RMT_COMMAND variable. --- 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)