diff -r 71503088f51b -r f880f219c566 openpkg/rpm-config.8 --- a/openpkg/rpm-config.8 Tue Jul 31 12:12:54 2012 +0200 +++ b/openpkg/rpm-config.8 Tue Jul 31 12:23:42 2012 +0200 @@ -1,15 +1,7 @@ -.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32 +.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.22) .\" .\" Standard preamble: .\" ======================================================================== -.de Sh \" Subsection heading -.br -.if t .Sp -.ne 5 -.PP -\fB\\$1\fR -.PP -.. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp @@ -25,11 +17,11 @@ .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left -.\" double quote, and \*(R" will give a right double quote. | will give a -.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to -.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' -.\" expand to `' in nroff, nothing in troff, for use with C<>. -.tr \(*W-|\(bv\*(Tr +.\" double quote, and \*(R" will give a right double quote. \*(C+ will +.\" give a nicer C++. Capital omega is used to do unbreakable dashes and +.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, +.\" nothing in troff, for use with C<>. +.tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- @@ -48,22 +40,25 @@ . ds R" '' 'br\} .\" +.\" Escape single quotes in literal strings from groff's Unicode transform. +.ie \n(.g .ds Aq \(aq +.el .ds Aq ' +.\" .\" If the F register is turned on, we'll generate index entries on stderr for -.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index +.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. -.if \nF \{\ +.ie \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} -.\" -.\" For nroff, turn off justification. Always turn off hyphenation; it makes -.\" way too many mistakes in technical documents. -.hy 0 -.if n .na +.el \{\ +. de IX +.. +.\} .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. @@ -130,8 +125,12 @@ .\" .IX Title "RPM-CONFIG 8" .TH RPM-CONFIG 8 "OpenPKG" "RPM-CONFIG(8)" "OpenPKG" +.\" For nroff, turn off justification. Always turn off hyphenation; it makes +.\" way too many mistakes in technical documents. +.if n .ad l +.nh .SH "NAME" -\&\fBrpm\-config\fR \- OpenPKG RPM library build utility +rpm\-config \- OpenPKG RPM library build utility .SH "VERSION" .IX Header "VERSION" OpenPKG \s-1RPM\s0 \s-1RPM_VERSION\s0 @@ -188,25 +187,19 @@ .SH "EXAMPLE" .IX Header "EXAMPLE" .Vb 5 -\& CC = `rpm-config --cc` -\& CPPFLAGS = `rpm-config --cppflags` -\& CFLAGS = `rpm-config --cflags` -\& LDFLAGS = `rpm-config --ldflags` -\& LIBS = `rpm-config --libs` -.Ve -.PP -.Vb 1 +\& CC = \`rpm\-config \-\-cc\` +\& CPPFLAGS = \`rpm\-config \-\-cppflags\` +\& CFLAGS = \`rpm\-config \-\-cflags\` +\& LDFLAGS = \`rpm\-config \-\-ldflags\` +\& LIBS = \`rpm\-config \-\-libs\` +\& \& all: foo -.Ve -.PP -.Vb 2 +\& \& foo: foo.o -\& $(CC) $(LDFLAGS) -o foo foo.o $(LIBS) -.Ve -.PP -.Vb 2 +\& $(CC) $(LDFLAGS) \-o foo foo.o $(LIBS) +\& \& foo.o: foo.c -\& $(CC) $(CPPFLAGS) $(CFLAGS) -o foo.o -c foo.c +\& $(CC) $(CPPFLAGS) $(CFLAGS) \-o foo.o \-c foo.c .Ve .SH "SEE ALSO" .IX Header "SEE ALSO"