diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2011-08-29 05:46:52 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-30 17:27:38 +0100 |
commit | 2b3563fca83391017b8eb8d7c84a7981ad29381d (patch) | |
tree | e941f1ece4c34ff2e9c1675edf54cb508387074b /documentation | |
parent | d67201e6003ad2be8ebcd9aaca9c8212cf8ca007 (diff) | |
download | poky-2b3563fca83391017b8eb8d7c84a7981ad29381d.tar.gz |
documentation/Makefile: Updated comments for usage per Robert P. J. Day
Robert Day correctly pointed out that the usage comments in the Makefile
were not exactly accurate. The VER argument is necessary only if you
are going to publish a document to the YP website. I updated the usage
comments accordingly.
(From yocto-docs rev: dd033227af0f88e45b539b92be8f1321fcd4f975)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/Makefile | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/documentation/Makefile b/documentation/Makefile index 176f38ee0e..0acb53db7c 100644 --- a/documentation/Makefile +++ b/documentation/Makefile | |||
@@ -17,17 +17,20 @@ | |||
17 | # The command-line argument DOC represents the folder name in which a particular | 17 | # The command-line argument DOC represents the folder name in which a particular |
18 | # document is stored. The command-line argument VER represents the distro | 18 | # document is stored. The command-line argument VER represents the distro |
19 | # version of the Yocto Release for which the manuals are being generated. | 19 | # version of the Yocto Release for which the manuals are being generated. |
20 | # You must invoke the Makefile with the DOC and VER arguments. | 20 | # To build the HTML and PDF versions of the manual you must invoke the Makefile |
21 | # with the DOC argument. If you are going to publish the manual then you | ||
22 | # you must invoke the Makefile with both the DOC and the VER argument. | ||
23 | # | ||
21 | # Examples: | 24 | # Examples: |
22 | # | 25 | # |
23 | # make DOC=bsp-guide VER=1.1 | 26 | # make DOC=bsp-guide |
24 | # make DOC=yocto-project-qs VER=1.1 | 27 | # make DOC=yocto-project-qs |
25 | # make pdf DOC=yocto-project-qs VER=1.1 | 28 | # make pdf DOC=poky-ref-manual |
26 | # | 29 | # |
27 | # The first example generates the HTML and PDF versions of the BSP Guide for | 30 | # The first example generates the HTML and PDF versions of the BSP Guide. |
28 | # the Yocto Project 1.1 Release. The second example generates the HTML version | 31 | # The second example generates the HTML version only of the Quick Start. Note that |
29 | # of the Quick Start. The third example generates an error because you cannot | 32 | # the Quick Start only has an HTML version available. The third example generates |
30 | # generate a PDF version of the Quick Start. | 33 | # both the PDF and HTML versions of the Yocto Project Reference Manual. |
31 | # | 34 | # |
32 | # Use the publish target to push the generated manuals to the Yocto Project | 35 | # Use the publish target to push the generated manuals to the Yocto Project |
33 | # website. All files needed for the manual's HTML form are pushed as well as the | 36 | # website. All files needed for the manual's HTML form are pushed as well as the |
@@ -37,6 +40,10 @@ | |||
37 | # make publish DOC=bsp-guide VER=1.1 | 40 | # make publish DOC=bsp-guide VER=1.1 |
38 | # make publish DOC=adt-manual VER=1.1 | 41 | # make publish DOC=adt-manual VER=1.1 |
39 | # | 42 | # |
43 | # The first example publishes the 1.1 version of both the PDF and HTML versions of | ||
44 | # the BSP Guide. The second example publishes the 1.1 version of both the PDF and | ||
45 | # HTML versions of the ADT Manual. | ||
46 | # | ||
40 | 47 | ||
41 | ifeq ($(DOC),bsp-guide) | 48 | ifeq ($(DOC),bsp-guide) |
42 | XSLTOPTS = --stringparam html.stylesheet style.css \ | 49 | XSLTOPTS = --stringparam html.stylesheet style.css \ |