documentation Makefile seems overly strict WRT "VER" variable


Robert P. J. Day
 

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
========================================================================

Join yocto@lists.yoctoproject.org to automatically receive all group messages.