Convert all values enclosed between <...> to italic before it goes to
asciidoc processor.

Signed-off-by: David Sterba <[email protected]>
---
 Documentation/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/Documentation/Makefile b/Documentation/Makefile
index e22f5bca0ff2..45299bb29f9b 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -85,10 +85,11 @@ clean:
 %.8 : %.xml 
        $(QUIET_XMLTO)$(RM) $@ && \
        $(XMLTO) -m $(MANPAGE_XSL) $(XMLTO_EXTRA) man $<
-
 %.xml : %.txt asciidoc.conf
-       $(QUIET_ASCIIDOC)$(RM) $@+ $@ && \
+       $(QUIET_ASCIIDOC)$(RM) [email protected][12] $@ && \
+       sed -e "s/\(<[^>]\+>\)/'\1'/g" < $< > [email protected] && \
        $(ASCIIDOC) -b docbook -d manpage -f asciidoc.conf \
                $(ASCIIDOC_EXTRA) -abtrfs_version=$(BTRFS_VERSION) \
-               -o $@+ $< && \
-       mv $@+ $@
+               -o [email protected] [email protected] && \
+       mv [email protected] $@ && \
+       rm -f -- [email protected]
-- 
1.9.0

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to