summaryrefslogtreecommitdiffstats
path: root/bitbake/doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/doc/Makefile')
-rw-r--r--bitbake/doc/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/bitbake/doc/Makefile b/bitbake/doc/Makefile
index 29774e41cc..6b2af67326 100644
--- a/bitbake/doc/Makefile
+++ b/bitbake/doc/Makefile
@@ -22,7 +22,7 @@
22# make pdf DOC=user-manual 22# make pdf DOC=user-manual
23# 23#
24# The first example generates the HTML and PDF versions of the User Manual. 24# The first example generates the HTML and PDF versions of the User Manual.
25# The second example generates the HTML version only of the User Manual. 25# The second example generates the HTML version only of the User Manual.
26# 26#
27 27
28ifeq ($(DOC),user-manual) 28ifeq ($(DOC),user-manual)
@@ -73,5 +73,19 @@ tarball: html
73validate: 73validate:
74 cd $(DOC); xmllint --postvalid --xinclude --noout $(DOC).xml; cd .. 74 cd $(DOC); xmllint --postvalid --xinclude --noout $(DOC).xml; cd ..
75 75
76publish:
77 @if test -f $(DOC)/$(DOC).html; \
78 then \
79 echo " "; \
80 echo "******** Publishing "$(DOC)".html"; \
81 echo " "; \
82 scp -r $(MANUALS) $(STYLESHEET) docs.yp:/var/www/www.yoctoproject.org-docs/$(VER)/$(DOC); \
83 cd $(DOC); scp -r $(FIGURES) docs.yp:/var/www/www.yoctoproject.org-docs/$(VER)/$(DOC); \
84 else \
85 echo " "; \
86 echo $(DOC)".html missing. Generate the file first then try again."; \
87 echo " "; \
88 fi
89
76clean: 90clean:
77 rm -rf $(MANUALS); rm $(DOC)/$(DOC).tgz; 91 rm -rf $(MANUALS); rm $(DOC)/$(DOC).tgz;