[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "\.1" entries in Makefile $MAN variable (Solaris 9)
From: |
Poor Yorick |
Subject: |
Re: "\.1" entries in Makefile $MAN variable (Solaris 9) |
Date: |
Sat, 21 Jun 2008 03:19:34 +0000 |
> From: Jim Meyering <>
>
> That's not the same context as the above.
> In the for loop above, the tr use is within a `...` context.
> In *that* case, you'll find the extra backslashes are required.
Thank you for your reply. I see what you mean about the extra backslashes. I
tried again with snapshot you suggested (coreutils-6.12.29-a16be), and after
applying the following patch, it worked (with the exception of a failed test,
which I will report in another email):
--- configure.ac 2008-06-20 16:19:14 -04:00
+++ configure.ac.new 2008-06-20 21:58:10 -04:00
@@ -258,7 +258,7 @@
v=EXTRA_PROGRAMS
for gl_i in `sed -n '/^'$v' =/,/[[^\]]$/p' $mk \
| sed 's/^ *//;/^\$.*/d;/^'$v' =/d' \
- | tr -s '\\015\\012\\\\' ' '`; do
+ | tr -s '\\015\\012\\\\' ' '`; do
gl_ADD_PROG([optional_bin_progs], $gl_i)
done
@@ -313,7 +313,7 @@
# Change ginstall.1 to "install.h" in $MAN.
MAN=`for m in $MAN; do test $m = ginstall.1 && m=install.1; echo $m; done \
- | tr '\015\012' ' '; echo`
+ | tr '\015\012' ' '; echo`
# Remove [.1, since writing a portable rule for it in man/Makefile.am
# is not practical. The sed LHS below uses the autoconf quadrigraph
--
Yorick