aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/Makefile
Commit message (Collapse)AuthorAge
* trace-cmd/doc: Let environment variable override MANPAGE_DOCBOOK_XSLSteven Rostedt2011-02-01
| | | | | | | 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>
* trace-cmd/doc: Fix installing krenelshark html documentsSteven Rostedt2011-02-01
| | | | | | | 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>
* trace-cmd/doc: Fail if manpage/docbook.xsl is not foundSteven Rostedt2011-02-01
| | | | | | | | 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>
* Merge branch 'kernelshark-devel' into trace-cmdSteven Rostedt2010-06-10
|\ | | | | | | | | | | | | Conflicts: Makefile Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
| * kernelshark/build: Install HTML doc and reference itSteven Rostedt2010-04-09
| | | | | | | | | | | | | | 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>
* | build: Add DESTDIR to makeSteven Rostedt2010-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | build/doc: Use a substitution reference in man pages installJohn Kacur2010-06-09
|/ | | | | | | | | | | | | | | | | | | | | 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>
* build/doc: Fix removing of trace.dat(5) SYNOPSISSteven Rostedt2010-04-09
| | | | | | | | | | | | 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>
* Documentation: Added trace-cmd.dat.5.txtSteven Rostedt2010-03-26
| | | | | | Added a documentation man page on the format of the trace.dat file. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* build: Make the man pages build number dependentSteven Rostedt2010-03-26
| | | | | | | 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>
* build: Added installing of documentationSteven Rostedt2010-03-26
| | | | | | Added 'make install_doc' Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* build: Hide the annoying output that xsltproc writes when completedSteven Rostedt2010-03-25
| | | | Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* build: Prevent rebuild of documentation every timeSteven Rostedt2010-03-25
| | | | | | | | | | 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>
* build: Make the building of documentation look cleanerSteven Rostedt2010-03-25
| | | | | | Use the "KBUILD" method to build documentation. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* build: Make doc build handle O=/path/to/output/dirSteven Rostedt2010-03-25
| | | | | | Update the Documentation Makefile to handle building outside the source tree. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* trace-cmd: Add Makefile to build man pagesSteven Rostedt2010-03-08
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>