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

Rifenbark, Scott M scott.m.rifenbark at intel.com
Fri Aug 26 13:18:56 PDT 2011


Robert, 

Good point.  I will update the comments about how to invoke this. 

Scott

-----Original Message-----
From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Robert P. J. Day
Sent: Friday, August 26, 2011 4:27 AM
To: Yocto discussion list
Subject: [yocto] documentation Makefile seems overly strict WRT "VER" variable


  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
========================================================================
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list