Hi, this patch essentially escapes '@' in sample code such that '$@' (instead of '$') is printed. Patch file attached.
diff --git a/doc/make.texi b/doc/make.texi
index 01bcec7..75c8834 100644
--- a/doc/make.texi
+++ b/doc/make.texi
@@ -11275,7 +11275,6 @@ function in a file @file{mk_temp.c}:
@example
@group
#include <stdlib.h>
-#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
@@ -11332,7 +11331,7 @@ all:
load mk_temp.so
mk_temp.so: mk_temp.c
- $(CC) -shared -fPIC -o $@ $<
+ $(CC) -shared -fPIC -o $@@ $<
@end group
@end example
@@ -11346,7 +11345,7 @@ object will look on Windows like this (assuming the
API version is 1):
@example
@group
mk_temp.dll: mk_temp.c
- $(CC) -shared -o $@ $< -lgnumake-1
+ $(CC) -shared -o $@@ $< -lgnumake-1
@end group
@end example
Thanks,
J.
make-texi-load.patch
Description: Binary data
_______________________________________________ Bug-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-make
