[yocto] documentation Makefile seems overly strict WRT "VER" variable

Robert P. J. Day rpjday at crashcourse.ca
Fri Aug 26 04:27:16 PDT 2011


  more pedantry: the documentation Makefile reads:

... The command-line argument VER represents the distro
# version of the Yocto Release for which the manuals are being generated.
# You must invoke the Makefile with the DOC and VER arguments.
# Examples:
#
#     make DOC=bsp-guide VER=1.1
#     make DOC=yocto-project-qs VER=1.1
#     make pdf DOC=yocto-project-qs VER=1.1

  i don't see that setting VER is actually required unless you're
"publish"ing, where VER is clearly necessary for the "scp" operation
to work properly:

publish:
        scp -r $(MANUALS) $(STYLESHEET) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC)
        cd $(DOC); scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC)/figures

  would it make sense to back off slightly on that claim that setting
VER is essential for building the docs?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the yocto mailing list