Makefile 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483
  1. # This is a single Makefile to handle all generated Yocto Project documents,
  2. # which includes the BitBake User Manual and the Toaster User Manual.
  3. # The Makefile needs to live in the documents directory and all figures used
  4. # in any manuals must be .PNG files and live in the individual book's figures
  5. # directory as well as in the figures directory for the mega-manual.
  6. #
  7. # Some manuals are available as linked help through the Eclipse development
  8. # system. These manuals also include an "eclipse" sub-directory as part of
  9. # the make process.
  10. #
  11. # Note that the figures for the Yocto Project Development Tasks Manual
  12. # differ depending on the BRANCH being built.
  13. #
  14. # The Makefile has these targets:
  15. # all: If you leave off the target then "all" is implied.
  16. # You will generate HTML, eclipse help (if applicable),
  17. # and a tarball of files.
  18. #
  19. # pdf: generates a PDF version of a manual. Not valid for the
  20. # Quick Start or the mega-manual (single, large HTML file
  21. # comprised of all Yocto Project manuals).
  22. # html: generates an HTML version of a manual.
  23. # eclipse: generates an HTML version of a manual that can be used as
  24. # eclipse help (including necessary metadata files).
  25. # tarball: creates a tarball for the doc files.
  26. # validate: validates
  27. # publish: pushes generated files to the Yocto Project website
  28. # clean: removes files
  29. #
  30. # The Makefile can generate an HTML and PDF version of every document except the
  31. # Yocto Project Quick Start and the single, HTML mega-manual, which is comprised
  32. # of all the individual Yocto Project manuals. You can generate these two manuals
  33. # in HTML form only. The variable DOC indicates the folder name for a given manual.
  34. # The variable VER represents the distro version of the Yocto Release for which the
  35. # manuals are being generated. The variable BRANCH is used to indicate the
  36. # branch (edison or denzil) and is used only when DOC=dev-manual or
  37. # DOC=mega-manual. If you do not specify a BRANCH, the default branch used
  38. # will be for the latest Yocto Project release. If you build for either
  39. # edison or denzil, you must use BRANCH. You do not need to use BRANCH for
  40. # any release beyond denzil.
  41. #
  42. # To build a manual, you must invoke Makefile with the DOC argument. If you
  43. # are going to publish the manual, then you must invoke Makefile with both the
  44. # DOC and the VER argument. Furthermore, if you are building or publishing
  45. # the edison or denzil versions of the Yocto Project Development Tasks Manual or
  46. # the mega-manual, you must also use the BRANCH argument.
  47. #
  48. # Examples:
  49. #
  50. # make DOC=bsp-guide
  51. # make html DOC=brief-yoctoprojectqs
  52. # make pdf DOC=ref-manual
  53. # make DOC=dev-manual BRANCH=edison
  54. # make DOC=mega-manual BRANCH=denzil
  55. #
  56. # The first example generates the HTML and Eclipse help versions of the BSP Guide.
  57. # The second example generates the HTML version only of the Quick Start. Note
  58. # that the Quick Start only has an HTML version available. So, the
  59. # 'make DOC=brief-yoctoprojectqs' command would be equivalent. The third example
  60. # generates just the PDF version of the Yocto Project Reference Manual.
  61. # The fourth example generates the HTML 'edison' version and (if available)
  62. # the Eclipse help version of the YP Development Tasks Manual. The last example
  63. # generates the HTML version of the mega-manual and uses the 'denzil'
  64. # branch when choosing figures for the tarball of figures. Any example that does
  65. # not use the BRANCH argument builds the current version of the manual set.
  66. #
  67. # The publish target pushes the generated manuals to the Yocto Project
  68. # website. Unless you are a developer on the YP team, you will not succeed in
  69. # pushing manuals to this server. All files needed for the manual's HTML form are
  70. # pushed as well as applicable Eclipse versions.
  71. #
  72. # Examples:
  73. #
  74. # make publish DOC=bsp-guide VER=1.7
  75. # make publish DOC=adt-manual VER=1.6
  76. # make publish DOC=dev-manual VER=1.1.1 BRANCH=edison
  77. # make publish DOC=dev-manual VER=1.2 BRANCH=denzil
  78. #
  79. # The first example publishes the 1.7 version of both the PDF and HTML versions of
  80. # the BSP Guide. The second example publishes the 1.6 version of both the PDF and
  81. # HTML versions of the ADT Manual. The third example publishes the 1.1.1 version of
  82. # the PDF and HTML YP Development Tasks Manual for the 'edison' branch. The fourth
  83. # example publishes the 1.2 version of the PDF and HTML YP Development Tasks Manual
  84. # for the 'denzil' branch.
  85. #
  86. ifeq ($(DOC),brief-yoctoprojectqs)
  87. XSLTOPTS = --stringparam html.stylesheet brief-yoctoprojectqs-style.css \
  88. --stringparam chapter.autolabel 0 \
  89. --stringparam section.autolabel 0 \
  90. --stringparam section.label.includes.component.label 0 \
  91. --xinclude
  92. ALLPREQ = html eclipse tarball
  93. TARFILES = brief-yoctoprojectqs-style.css brief-yoctoprojectqs.html figures/bypqs-title.png \
  94. figures/yocto-project-transp.png
  95. MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse
  96. FIGURES = figures
  97. STYLESHEET = $(DOC)/*.css
  98. endif
  99. ifeq ($(DOC),overview-manual)
  100. XSLTOPTS = --xinclude
  101. ALLPREQ = html eclipse tarball
  102. TARFILES = overview-manual-style.css overview-manual.html figures/overview-manual-title.png \
  103. figures/git-workflow.png figures/source-repos.png figures/index-downloads.png \
  104. figures/yp-download.png figures/YP-flow-diagram.png figures/key-dev-elements.png \
  105. figures/poky-reference-distribution.png figures/cross-development-toolchains.png \
  106. figures/user-configuration.png figures/layer-input.png figures/source-input.png \
  107. figures/package-feeds.png figures/patching.png figures/source-fetching.png \
  108. figures/configuration-compile-autoreconf.png figures/analysis-for-package-splitting.png \
  109. figures/image-generation.png figures/sdk-generation.png figures/images.png \
  110. figures/sdk.png \
  111. eclipse
  112. MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse
  113. FIGURES = figures
  114. STYLESHEET = $(DOC)/*.css
  115. endif
  116. ifeq ($(DOC),bsp-guide)
  117. XSLTOPTS = --xinclude
  118. ALLPREQ = html eclipse tarball
  119. TARFILES = bsp-style.css bsp-guide.html figures/bsp-title.png \
  120. figures/bsp-dev-flow.png \
  121. eclipse
  122. MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse
  123. FIGURES = figures
  124. STYLESHEET = $(DOC)/*.css
  125. endif
  126. ifeq ($(DOC),dev-manual)
  127. XSLTOPTS = --xinclude
  128. ALLPREQ = html eclipse tarball
  129. #
  130. # Note that the tarfile might produce the "Cannot stat: No such file or
  131. # directory" error message for .PNG files that are not present when building
  132. # a particular branch. The list of files is all-inclusive for all branches.
  133. # Note, if you don't provide a BRANCH option, it defaults to the latest stuff.
  134. # This would be appropriate for "master" branch.
  135. #
  136. ifeq ($(BRANCH),edison)
  137. TARFILES = dev-style.css dev-manual.html \
  138. figures/app-dev-flow.png figures/bsp-dev-flow.png \
  139. figures/dev-title.png figures/git-workflow.png \
  140. figures/index-downloads.png figures/kernel-dev-flow.png \
  141. figures/kernel-example-repos-edison.png \
  142. figures/kernel-overview-1.png figures/kernel-overview-2.png \
  143. figures/kernel-overview-3-edison.png \
  144. figures/source-repos.png figures/yp-download.png \
  145. figures/wip.png
  146. else ifeq ($(BRANCH),denzil)
  147. TARFILES = dev-style.css dev-manual.html \
  148. figures/app-dev-flow.png figures/bsp-dev-flow.png \
  149. figures/dev-title.png figures/git-workflow.png \
  150. figures/index-downloads.png figures/kernel-dev-flow.png \
  151. figures/kernel-example-repos-denzil.png \
  152. figures/kernel-overview-1.png figures/kernel-overview-2.png \
  153. figures/kernel-overview-3-denzil.png \
  154. figures/source-repos.png figures/yp-download.png \
  155. figures/wip.png
  156. else
  157. TARFILES = dev-style.css dev-manual.html figures/buildhistory-web.png \
  158. figures/dev-title.png figures/buildhistory.png \
  159. figures/recipe-workflow.png figures/bitbake-build-flow.png \
  160. figures/multiconfig_files.png \
  161. eclipse
  162. endif
  163. MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse
  164. FIGURES = figures
  165. STYLESHEET = $(DOC)/*.css
  166. endif
  167. ifeq ($(DOC),mega-manual)
  168. XSLTOPTS = --stringparam html.stylesheet mega-style.css \
  169. --stringparam chapter.autolabel 1 \
  170. --stringparam section.autolabel 1 \
  171. --stringparam section.label.includes.component.label 1 \
  172. --xinclude
  173. ALLPREQ = html tarball
  174. ifeq ($(BRANCH),edison)
  175. TARFILES = mega-manual.html mega-style.css figures/yocto-environment.png \
  176. figures/building-an-image.png \
  177. figures/using-a-pre-built-image.png \
  178. figures/poky-title.png \
  179. figures/adt-title.png figures/bsp-title.png \
  180. figures/kernel-title.png figures/kernel-architecture-overview.png \
  181. figures/app-dev-flow.png figures/bsp-dev-flow.png \
  182. figures/dev-title.png figures/git-workflow.png \
  183. figures/index-downloads.png figures/kernel-dev-flow.png \
  184. figures/kernel-example-repos-edison.png \
  185. figures/kernel-overview-1.png figures/kernel-overview-2.png \
  186. figures/kernel-overview-3-edison.png \
  187. figures/source-repos.png figures/yp-download.png \
  188. figures/wip.png
  189. else ifeq ($(BRANCH),denzil)
  190. TARFILES = mega-manual.html mega-style.css figures/yocto-environment.png \
  191. figures/building-an-image.png \
  192. figures/using-a-pre-built-image.png \
  193. figures/poky-title.png \
  194. figures/adt-title.png figures/bsp-title.png \
  195. figures/kernel-title.png figures/kernel-architecture-overview.png \
  196. figures/app-dev-flow.png figures/bsp-dev-flow.png \
  197. figures/dev-title.png figures/git-workflow.png \
  198. figures/index-downloads.png figures/kernel-dev-flow.png \
  199. figures/kernel-example-repos-denzil.png \
  200. figures/kernel-overview-1.png figures/kernel-overview-2.png \
  201. figures/kernel-overview-3-denzil.png \
  202. figures/source-repos.png figures/yp-download.png \
  203. figures/wip.png
  204. else
  205. TARFILES = mega-manual.html mega-style.css \
  206. figures/YP-flow-diagram.png \
  207. figures/using-a-pre-built-image.png \
  208. figures/poky-title.png figures/buildhistory.png \
  209. figures/buildhistory-web.png \
  210. figures/sdk-title.png figures/bsp-title.png \
  211. figures/kernel-dev-title.png figures/kernel-architecture-overview.png \
  212. figures/bsp-dev-flow.png \
  213. figures/dev-title.png \
  214. figures/git-workflow.png figures/index-downloads.png \
  215. figures/kernel-dev-flow.png \
  216. figures/kernel-overview-2-generic.png \
  217. figures/source-repos.png figures/yp-download.png \
  218. figures/profile-title.png figures/kernelshark-all.png \
  219. figures/kernelshark-choose-events.png \
  220. figures/kernelshark-i915-display.png \
  221. figures/kernelshark-output-display.png figures/lttngmain0.png \
  222. figures/oprofileui-busybox.png figures/oprofileui-copy-to-user.png \
  223. figures/oprofileui-downloading.png figures/oprofileui-processes.png \
  224. figures/perf-probe-do_fork-profile.png \
  225. figures/perf-report-cycles-u.png \
  226. figures/perf-systemwide.png figures/perf-systemwide-libc.png \
  227. figures/perf-wget-busybox-annotate-menu.png \
  228. figures/perf-wget-busybox-annotate-udhcpc.png \
  229. figures/perf-wget-busybox-debuginfo.png \
  230. figures/perf-wget-busybox-dso-zoom.png \
  231. figures/perf-wget-busybox-dso-zoom-menu.png \
  232. figures/perf-wget-busybox-expanded-stripped.png \
  233. figures/perf-wget-flat-stripped.png \
  234. figures/perf-wget-g-copy-from-user-expanded-stripped.png \
  235. figures/perf-wget-g-copy-to-user-expanded-debuginfo.png \
  236. figures/perf-wget-g-copy-to-user-expanded-stripped.png \
  237. figures/perf-wget-g-copy-to-user-expanded-stripped-unresolved-hidden.png \
  238. figures/pybootchartgui-linux-yocto.png \
  239. figures/pychart-linux-yocto-rpm.png \
  240. figures/pychart-linux-yocto-rpm-nostrip.png \
  241. figures/sched-wakeup-profile.png figures/sysprof-callers.png \
  242. figures/sysprof-copy-from-user.png figures/sysprof-copy-to-user.png \
  243. figures/cross-development-toolchains.png \
  244. figures/user-configuration.png \
  245. figures/source-input.png figures/package-feeds.png \
  246. figures/layer-input.png figures/images.png figures/sdk.png \
  247. figures/source-fetching.png figures/patching.png \
  248. figures/configuration-compile-autoreconf.png \
  249. figures/analysis-for-package-splitting.png \
  250. figures/image-generation.png figures/key-dev-elements.png\
  251. figures/sdk-generation.png figures/recipe-workflow.png \
  252. figures/build-workspace-directory.png figures/mega-title.png \
  253. figures/toaster-title.png figures/hosted-service.png figures/multiconfig_files.png \
  254. figures/simple-configuration.png figures/poky-reference-distribution.png \
  255. figures/compatible-layers.png figures/import-layer.png figures/new-project.png \
  256. figures/sdk-environment.png figures/sdk-installed-standard-sdk-directory.png \
  257. figures/sdk-devtool-add-flow.png figures/sdk-installed-extensible-sdk-directory.png \
  258. figures/sdk-devtool-modify-flow.png figures/sdk-eclipse-dev-flow.png \
  259. figures/sdk-devtool-upgrade-flow.png figures/bitbake-build-flow.png figures/bypqs-title.png \
  260. figures/overview-manual-title.png figures/sdk-autotools-flow.png figures/sdk-makefile-flow.png
  261. endif
  262. MANUALS = $(DOC)/$(DOC).html
  263. FIGURES = figures
  264. STYLESHEET = $(DOC)/*.css
  265. endif
  266. ifeq ($(DOC),ref-manual)
  267. XSLTOPTS = --xinclude
  268. ALLPREQ = html eclipse tarball
  269. TARFILES = ref-manual.html ref-style.css figures/poky-title.png \
  270. figures/build-workspace-directory.png \
  271. eclipse
  272. MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse
  273. FIGURES = figures
  274. STYLESHEET = $(DOC)/*.css
  275. endif
  276. ifeq ($(DOC),sdk-manual)
  277. XSLTOPTS = --xinclude
  278. ALLPREQ = html eclipse tarball
  279. TARFILES = sdk-manual.html sdk-style.css figures/sdk-title.png \
  280. figures/sdk-environment.png figures/sdk-installed-standard-sdk-directory.png \
  281. figures/sdk-installed-extensible-sdk-directory.png figures/sdk-devtool-add-flow.png \
  282. figures/sdk-devtool-modify-flow.png figures/sdk-eclipse-dev-flow.png \
  283. figures/sdk-devtool-upgrade-flow.png figures/sdk-autotools-flow.png figures/sdk-makefile-flow.png \
  284. eclipse
  285. MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse
  286. FIGURES = figures
  287. STYLESHEET = $(DOC)/*.css
  288. endif
  289. ifeq ($(DOC),profile-manual)
  290. XSLTOPTS = --xinclude
  291. ALLPREQ = html eclipse tarball
  292. TARFILES = profile-manual.html profile-manual-style.css \
  293. figures/profile-title.png figures/kernelshark-all.png \
  294. figures/kernelshark-choose-events.png \
  295. figures/kernelshark-i915-display.png \
  296. figures/kernelshark-output-display.png figures/lttngmain0.png \
  297. figures/oprofileui-busybox.png figures/oprofileui-copy-to-user.png \
  298. figures/oprofileui-downloading.png figures/oprofileui-processes.png \
  299. figures/perf-probe-do_fork-profile.png \
  300. figures/perf-report-cycles-u.png \
  301. figures/perf-systemwide.png figures/perf-systemwide-libc.png \
  302. figures/perf-wget-busybox-annotate-menu.png \
  303. figures/perf-wget-busybox-annotate-udhcpc.png \
  304. figures/perf-wget-busybox-debuginfo.png \
  305. figures/perf-wget-busybox-dso-zoom.png \
  306. figures/perf-wget-busybox-dso-zoom-menu.png \
  307. figures/perf-wget-busybox-expanded-stripped.png \
  308. figures/perf-wget-flat-stripped.png \
  309. figures/perf-wget-g-copy-from-user-expanded-stripped.png \
  310. figures/perf-wget-g-copy-to-user-expanded-debuginfo.png \
  311. figures/perf-wget-g-copy-to-user-expanded-stripped.png \
  312. figures/perf-wget-g-copy-to-user-expanded-stripped-unresolved-hidden.png \
  313. figures/pybootchartgui-linux-yocto.png \
  314. figures/pychart-linux-yocto-rpm.png \
  315. figures/pychart-linux-yocto-rpm-nostrip.png \
  316. figures/sched-wakeup-profile.png figures/sysprof-callers.png \
  317. figures/sysprof-copy-from-user.png figures/sysprof-copy-to-user.png \
  318. eclipse
  319. MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse
  320. FIGURES = figures
  321. STYLESHEET = $(DOC)/*.css
  322. endif
  323. ifeq ($(DOC),kernel-dev)
  324. XSLTOPTS = --xinclude
  325. ALLPREQ = html eclipse tarball
  326. TARFILES = kernel-dev.html kernel-dev-style.css \
  327. figures/kernel-dev-title.png figures/kernel-overview-2-generic.png \
  328. figures/kernel-architecture-overview.png figures/kernel-dev-flow.png \
  329. eclipse
  330. MANUALS = $(DOC)/$(DOC).html $(DOC)/eclipse
  331. FIGURES = figures
  332. STYLESHEET = $(DOC)/*.css
  333. endif
  334. ifeq ($(DOC),toaster-manual)
  335. XSLTOPTS = --xinclude
  336. ALLPREQ = html tarball
  337. TARFILES = toaster-manual.html toaster-manual-style.css \
  338. figures/toaster-title.png figures/simple-configuration.png \
  339. figures/hosted-service.png \
  340. figures/compatible-layers.png figures/import-layer.png figures/new-project.png
  341. MANUALS = $(DOC)/$(DOC).html
  342. FIGURES = figures
  343. STYLESHEET = $(DOC)/*.css
  344. endif
  345. ##
  346. # These URI should be rewritten by your distribution's xml catalog to
  347. # match your locally installed XSL stylesheets.
  348. XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/1.76.1
  349. XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl
  350. all: $(ALLPREQ)
  351. pdf:
  352. ifeq ($(DOC),brief-yoctoprojectqs)
  353. @echo " "
  354. @echo "ERROR: You cannot generate a PDF file for brief-yoctoprojectqs."
  355. @echo " "
  356. else ifeq ($(DOC),mega-manual)
  357. @echo " "
  358. @echo "ERROR: You cannot generate a mega-manual PDF file."
  359. @echo " "
  360. else
  361. cd $(DOC); ../tools/poky-docbook-to-pdf $(DOC).xml ../template; cd ..
  362. endif
  363. html:
  364. ifeq ($(DOC),mega-manual)
  365. # See http://www.sagehill.net/docbookxsl/HtmlOutput.html
  366. @echo " "
  367. @echo "******** Building "$(DOC)
  368. @echo " "
  369. cd $(DOC); xsltproc $(XSLTOPTS) -o $(DOC).html $(DOC)-customization.xsl $(DOC).xml; cd ..
  370. @echo " "
  371. @echo "******** Using mega-manual.sed to process external links"
  372. @echo " "
  373. cd $(DOC); sed -f ../tools/mega-manual.sed < mega-manual.html > mega-output.html; cd ..
  374. @echo " "
  375. @echo "******** Cleaning up transient file mega-output.html"
  376. @echo " "
  377. cd $(DOC); rm mega-manual.html; mv mega-output.html mega-manual.html; cd ..
  378. else
  379. # See http://www.sagehill.net/docbookxsl/HtmlOutput.html
  380. @echo " "
  381. @echo "******** Building "$(DOC)
  382. @echo " "
  383. cd $(DOC); xsltproc $(XSLTOPTS) -o $(DOC).html $(DOC)-customization.xsl $(DOC).xml; cd ..
  384. endif
  385. eclipse: BASE_DIR = html/$(DOC)/
  386. eclipse: eclipse-generate eclipse-resolve-links
  387. .PHONY : eclipse-generate eclipse-resolve-links
  388. eclipse-generate:
  389. ifeq ($(filter $(DOC), overview-manual sdk-manual bsp-guide dev-manual kernel-dev profile-manual ref-manual brief-yoctoprojectqs),)
  390. @echo " "
  391. @echo "ERROR: You can only create eclipse documentation"
  392. @echo " of the following documentation parts:"
  393. @echo " - overview-manual"
  394. @echo " - sdk-manual"
  395. @echo " - bsp-guide"
  396. @echo " - dev-manual"
  397. @echo " - kernel-dev"
  398. @echo " - profile-manual"
  399. @echo " - ref-manual"
  400. @echo " - brief-yoctoprojectqs"
  401. @echo " "
  402. else
  403. @echo " "
  404. @echo "******** Building eclipse help of "$(DOC)
  405. @echo " "
  406. cd $(DOC) && \
  407. xsltproc $(XSLTOPTS) \
  408. --stringparam base.dir '$(BASE_DIR)' \
  409. -o eclipse/$(DOC).html \
  410. $(DOC)-eclipse-customization.xsl $(DOC).xml && \
  411. mv eclipse/toc.xml eclipse/$(DOC)-toc.xml && \
  412. cp -rf $(FIGURES) eclipse/$(BASE_DIR) && \
  413. cd ..;
  414. $(call modify-eclipse)
  415. endif
  416. eclipse-resolve-links:
  417. @echo " "
  418. @echo "******** Using eclipse-help.sed to process external links"
  419. @echo " "
  420. $(foreach FILE, \
  421. $(wildcard $(DOC)/eclipse/html/$(DOC)/*.html), \
  422. $(shell sed -i -f tools/eclipse-help.sed $(FILE)))
  423. tarball: html
  424. @echo " "
  425. @echo "******** Creating Tarball of document files"
  426. @echo " "
  427. cd $(DOC); tar -cvzf $(DOC).tgz $(TARFILES); cd ..
  428. validate:
  429. cd $(DOC); xmllint --postvalid --xinclude --noout $(DOC).xml; cd ..
  430. publish:
  431. @if test -f $(DOC)/$(DOC).html; \
  432. then \
  433. echo " "; \
  434. echo "******** Publishing "$(DOC)".html"; \
  435. echo " "; \
  436. scp -r $(MANUALS) $(STYLESHEET) docs.yp:/var/www/www.yoctoproject.org-docs/$(VER)/$(DOC); \
  437. cd $(DOC); scp -r $(FIGURES) docs.yp:/var/www/www.yoctoproject.org-docs/$(VER)/$(DOC); \
  438. else \
  439. echo " "; \
  440. echo $(DOC)".html missing. Generate the file first then try again."; \
  441. echo " "; \
  442. fi
  443. clean:
  444. rm -rf $(MANUALS); rm $(DOC)/$(DOC).tgz;