summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/ChangeLog.eglibc5
-rw-r--r--libc/manual/Makefile6
2 files changed, 8 insertions, 3 deletions
diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc
index e6d3c5e20..4d91c833a 100644
--- a/libc/ChangeLog.eglibc
+++ b/libc/ChangeLog.eglibc
@@ -1,3 +1,8 @@
+2011-10-07 Michael Hope <michael.hope@linaro.org>
+
+ * manual/Makefile (stamp-pkgvers): Escape PKGVERSION. Fix the
+ escaping of REPORT_BUGS_TO.
+
2011-09-06 Dr. David Alan Gilbert <david.gilbert@linaro.org>
* elf/Makefile: Push tst-initorder through cross-test-wrapper.
diff --git a/libc/manual/Makefile b/libc/manual/Makefile
index 87393d7b6..7187ab9ff 100644
--- a/libc/manual/Makefile
+++ b/libc/manual/Makefile
@@ -116,9 +116,9 @@ stamp-libm-err: libm-err-tab.pl $(wildcard $(foreach dir,$(sysdirs),\
# Package version and bug reporting URL.
pkgvers.texi: stamp-pkgvers
stamp-pkgvers:
- echo "@set PKGVERSION $(PKGVERSION)" > pkgvers-tmp
- echo "@set REPORT_BUGS_TO $(REPORT_BUGS_TO)" \
- | sed -e 's/@/@@/g' >> pkgvers-tmp
+ echo "@set PKGVERSION $(subst @,@@,$(PKGVERSION))" > pkgvers-tmp
+ echo "@set REPORT_BUGS_TO $(subst @,@@,$(REPORT_BUGS_TO))" \
+ >> pkgvers-tmp
$(move-if-change) pkgvers-tmp pkgvers.texi
touch $@