Browse Source

* lib/Makefile.tmpl (localedir.h): Omit needless quotes and a
needless sed command.

Paul Eggert 20 years ago
parent
commit
af2fa08aa0
2 changed files with 8 additions and 4 deletions
  1. 5 0
      ChangeLog
  2. 3 4
      lib/Makefile.tmpl

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+2005-01-04  Paul Eggert  <[email protected]>
+
+	* lib/Makefile.tmpl (localedir.h): Omit needless quotes and a
+	needless sed command.  Problem reported by Paul Jarc.
+
 2004-12-23  Paul Eggert  <[email protected]>
 
 	Accommodate latest gnulib.

+ 3 - 4
lib/Makefile.tmpl

@@ -1,6 +1,6 @@
 # Makefile for GNU tar library.
 
-# Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2004
+# Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2004, 2005
 # Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
@@ -28,7 +28,7 @@ DISTCLEANFILES = localedir.h
 localedir.h : Makefile
 	echo '#define LOCALEDIR "$(localedir)"' >$@
 	echo "#ifndef DEFAULT_RMT_COMMAND" >> $@
-	echo "# define DEFAULT_RMT_COMMAND \"$(DEFAULT_RMT_DIR)/`echo \"rmt\" | sed 's,^.*/,,;$(transform)'`$(EXEEXT)\"" >> $@
+	echo "# define DEFAULT_RMT_COMMAND \"$(DEFAULT_RMT_DIR)/`echo rmt | sed '$(transform)'`$(EXEEXT)\"" >> $@
 	echo "#endif" >> $@
 
 rtapelib.o: localedir.h
@@ -51,6 +51,5 @@ $(srcdir)/getdate.c: getdate.y
 	  mv -f y.tab.c getdate.c
 
 SUFFIXES = .o .c .h
-CLEANFILES = 
+CLEANFILES =
 # gnulib modules
-