[PATCH 3 of 3] doc/Makefile: Don't show Makefile comments in output
Mads Kiilerich
mads at kiilerich.com
Thu Aug 20 17:25:23 CDT 2009
# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1250804147 -7200
# Node ID 99ec81f2ae66596ae62c85268f2b32dec4752c2a
# Parent 256fcebb2cd0a1ac76fa3aa3ef3a867a4261912d
doc/Makefile: Don't show Makefile comments in output
The comments makes sense when editing Makefile, but not when watching its
output where it looks too much like error messages.
diff --git a/doc/Makefile b/doc/Makefile
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -22,7 +22,7 @@
%: %.txt common.txt
$(RST2MAN) $*.txt > $*.tmp
- # add newline after all literal blocks and fix backslash escape
+# add newline after all literal blocks and fix backslash escape
sed \
-e 's/^\.fi$$/.fi\n/' \
-e 's/\\fB\\\\fP/\\fB\\e\\fP/' \
@@ -33,7 +33,7 @@
$(RST2HTML) $*.txt > $*.html
MANIFEST: man html
- # tracked files are already in the main MANIFEST
+# tracked files are already in the main MANIFEST
$(RM) $@
for i in $(MAN) $(HTML) hg.1.gendoc.txt; do \
echo "doc/$$i" >> $@ ; \
More information about the Mercurial-devel
mailing list