| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
In case the user wants to use a different manpage/docbook.xsl,
let them override the MANPAGE_DOCBOOK_XSL environment variable.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
|
| |
Remove space from the do_install script that was making the
install of kernelshark html documents fail.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
|
|
| |
Fail if the docbook.xsl is not found. Currently it fails if
the file does not exist, but passing in a blank string does not
produce an error.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
Makefile
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| | |
Install the HTML document on "make install_doc" and have the
kernelshark executable be able to reference that location.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add the variable DESTDIR that allows a user to install into
a directory that will later be moved to another host. This
facilitates the creation of distribution packages.
make DESTDIR=/tmp/build prefix=/usr install
Will install the program files into /tmp/build/usr/..
but the program will expect to find itself in the /usr/..
directories.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
subst will substitution every occurence of a string with another.
What we want here is just to substitute the last occurence.
That is we want to transform files that end with .1 into .1.install
We do not want to transform every ".1" in a path name into .1.install.
Without this fix you can get errors of this nature.
make prefix=/home/jkacur/rpmbuild/BUILDROOT/trace-cmd-1.0.1-4.fc12.x86_64/usr install_doc
make -C /home/jkacur/rpmbuild/BUILD/trace-cmd-1.0.1/Documentation install
make[1]: *** No rule to make target `/home/jkacur/rpmbuild/BUILD/trace-cmd-1.0.1.install/Documentation/trace-cmd.1', needed by `/home/jkacur/rpmbuild/BUILD/trace-cmd-1.0.1.install/Documentation/trace-cmd.1.install'. Stop.
make: *** [install_doc] Error 2
Signed-off-by: John Kacur <jkacur@redhat.com>
LKML-Reference: <1276099288-3029-3-git-send-email-jkacur@redhat.com>
Use a "substitution reference" instead of a substitution.
A "subst" will change every occurence of a string
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
To remove the trace.dat man page "SYNOPSIS" section, the lines
from: .SH "SYNOPSIS" to .sp are removed. But some systems do not
add a .sp after the SYNOPSIS, so they remove the entire rest of
the document.
Instead of testing for .sp, test for "ignore" since that is in the
document and is known to be there.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
| |
Added a documentation man page on the format of the trace.dat file.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
|
| |
To make way for creating other numbered man pages, modify the make documentation
build to be number specific. This required adding the numbers to the text files.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
| |
Added 'make install_doc'
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
| |
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
|
|
|
|
| |
Using dependencies to trigger the manpage.xsl waring was causing all man pages
to be built every time, event when no files were changed.
By converting it to a funciton and calling it first, it will allow the man pages
to only be rebuilt if their source files were changed.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
| |
Use the "KBUILD" method to build documentation.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
| |
Update the Documentation Makefile to handle building outside the source tree.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
Add a Makefile that has logic to build a man page.
It is still very primitive and uses ascriidoc and
xsltproc to do the formating. But instead of build my own xsl
file or putting together one from others, I decided to use
xsl files that already exist by doing a locate on
manpages/docbook.xsl, and using what is found.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|