From cf0dd02498de1d8447f78bb79903270958aee80b Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Jun 20 2013 17:40:16 +0000 Subject: Document -k as well; install mcpp-gcc.1 instead of mcpp.1 --- 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 [=]" -@@ -45,6 +45,12 @@ Unset system or site specific include di +@@ -43,8 +43,16 @@ Add 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 as (default:1). .IP "\fB-D [=]" Define as . @@ -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