[mcpp/f19] Document -k as well; install mcpp-gcc.1 instead of mcpp.1

Petr Machata pmachata at fedoraproject.org
Thu Jun 20 17:41:14 UTC 2013


commit cf0dd02498de1d8447f78bb79903270958aee80b
Author: Petr Machata <pmachata at redhat.com>
Date:   Thu Jun 20 19:40:16 2013 +0200

    Document -k as well;  install mcpp-gcc.1 instead of mcpp.1

 mcpp-man.patch |   10 ++++++++--
 mcpp.spec      |    1 +
 2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/mcpp-man.patch b/mcpp-man.patch
index 1436002..4942df7 100644
--- a/mcpp-man.patch
+++ b/mcpp-man.patch
@@ -10,8 +10,12 @@ diff -up ./mcpp.1~ ./mcpp.1
  .IP \fB-C
  Output also comments.
  .IP "\fB-D <macro>[=<value>]"
-@@ -45,6 +45,12 @@ Unset system or site specific include di
+@@ -43,8 +43,16 @@ Add <directory> to the #include search l
+ Unset system or site specific include directories.
+ .IP \fB-j
  Do not output the source line in diagnostics.
++.IP \fB-k
++Keep white spaces of input lines as they are.
  .IP "\fB-M, -MM, -MD, -MMD, -MP, -MQ target, -MT target, -MF file"
  Output source file dependency line for makefile.
 +.IP \fB-m32
@@ -44,7 +48,7 @@ diff -up ./mcpp-gcc.1~ ./mcpp-gcc.1
  .IP \fB-b
  Output #line lines in C source style (default: GCC style).
  .IP \fB-C
-@@ -34,21 +38,41 @@ Output also comments.
+@@ -34,21 +38,43 @@ Output also comments.
  Define <macro> as <value> (default:1).
  .IP "\fB-D <macro(args)>[=<replace>]"
  Define <macro(args)> as <replace>.
@@ -75,6 +79,8 @@ diff -up ./mcpp-gcc.1~ ./mcpp-gcc.1
 +Look for #include "file" (with quotes) in DIR.
  .IP \fB-j
  Do not output the source line in diagnostics.
++.IP \fB-k
++Keep white spaces of input lines as they are.
  .IP "\fB-M, -MM, -MD, -MMD, -MP, -MQ target, -MT target, -MF file"
  Output source file dependency line for makefile.
 +.IP \fB-m32
diff --git a/mcpp.spec b/mcpp.spec
index 0176d39..699b209 100644
--- a/mcpp.spec
+++ b/mcpp.spec
@@ -42,6 +42,7 @@ shared library of mcpp and behaves independent from GCC.
 %build
 %configure --enable-mcpplib --disable-static
 make CFLAGS="%{optflags}"
+mv mcpp-gcc.1 mcpp.1
 
 %install
 iconv -f euc-jp -t utf-8 doc-jp/mcpp-manual.html > doc-jp/mcpp-manual-jp.html


More information about the scm-commits mailing list