aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gcc/gcc-4.5
AgeCommit message (Expand)Author
2010-09-28gcc-4.5: Fix wrong instruction generation for vmovl patternkhem/import-linaro-gcc-4.5Khem Raj
2010-09-25gcc-4.5: Import Linaro patchesKhem Raj
2010-08-14gcc4.5: patch Makefile.in for cross compile badnessFrans Meulenbroeks
2010-08-03gcc-4.5: bump SRCREV after 4.5.1 releaseMartin Jansa
2010-07-23gcc-4.5: Fix rev instruction generation on armv6+ (backport PR 43698)Khem Raj
2010-07-01gcc-4.5: Make gcc-cross build for ppc targetKhem Raj
2010-06-22gcc-4.5: Fix the bswapsi libgcc infinite loop at -OsKhem Raj
2010-06-14gcc-4.5: Bump SRCREVKhem Raj
2010-06-08gcc-4.5.inc: Enable -flto on 4.5 so it can be used but its not on by default.Khem Raj
2010-06-07gcc-4.5: Fix libstdc++ build for ARMKhem Raj
2010-05-31gcc-4.5: rename 4.5.0 to 4.5 and update to latest svn revision.Khem Raj
'akuster/qa'>akuster/qa OpenEmbedded Core user contribution treesGrokmirror user
summaryrefslogtreecommitdiffstats
path: root/bitbake/doc/Makefile
blob: 3c28f4b2222324690cac7e32be363953036c54b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# This is a single Makefile to handle all generated BitBake documents.
# The Makefile needs to live in the documentation directory and all figures used
# in any manuals must be .PNG files and live in the individual book's figures
# directory.
#
# The Makefile has these targets:
#
#    pdf:      generates a PDF version of a manual.
#    html:     generates an HTML version of a manual.
#    tarball:  creates a tarball for the doc files.
#    validate: validates
#    clean:    removes files
#
# The Makefile generates an HTML version of every document.  The
# variable DOC indicates the folder name for a given manual.
#
# To build a manual, you must invoke 'make' with the DOC argument.
#
# Examples:
#
#     make DOC=bitbake-user-manual
#     make pdf DOC=bitbake-user-manual
#
# The first example generates the HTML version of the User Manual.
# The second example generates the PDF version of the User Manual.
#

ifeq ($(DOC),bitbake-user-manual)
XSLTOPTS = --stringparam html.stylesheet bitbake-user-manual-style.css \
           --stringparam  chapter.autolabel 1 \
           --stringparam  section.autolabel 1 \
           --stringparam  section.label.includes.component.label 1 \
           --xinclude
ALLPREQ = html tarball
TARFILES = bitbake-user-manual-style.css bitbake-user-manual.html figures/bitbake-title.png
MANUALS = $(DOC)/$(DOC).html
FIGURES = figures
STYLESHEET = $(DOC)/*.css

endif

##
# These URI should be rewritten by your distribution's xml catalog to
# match your localy installed XSL stylesheets.
XSL_BASE_URI  = http://docbook.sourceforge.net/release/xsl/current
XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl

all: $(ALLPREQ)

pdf:
ifeq ($(DOC),bitbake-user-manual)
	@echo " "
	@echo "********** Building."$(DOC)
	@echo " "
	cd $(DOC); ../tools/docbook-to-pdf $(DOC).xml ../template; cd ..
endif

html:
ifeq ($(DOC),bitbake-user-manual)
#       See http://www.sagehill.net/docbookxsl/HtmlOutput.html
	@echo " "
	@echo "******** Building "$(DOC)
	@echo " "
	cd $(DOC); xsltproc $(XSLTOPTS) -o $(DOC).html $(DOC)-customization.xsl $(DOC).xml; cd ..
endif

tarball: html
	@echo " "
	@echo "******** Creating Tarball of document files"
	@echo " "
	cd $(DOC); tar -cvzf $(DOC).tgz $(TARFILES); cd ..

validate:
	cd $(DOC); xmllint --postvalid --xinclude --noout $(DOC).xml; cd ..

publish:
	@if test -f $(DOC)/$(DOC).html; \
	  then \
            echo " "; \
            echo "******** Publishing "$(DOC)".html"; \
            echo " "; \
            scp -r $(MANUALS) $(STYLESHEET) docs.yp:/var/www/www.yoctoproject.org-docs/$(VER)/$(DOC); \
            cd $(DOC); scp -r $(FIGURES) docs.yp:/var/www/www.yoctoproject.org-docs/$(VER)/$(DOC); \
	else \
          echo " "; \
          echo $(DOC)".html missing.  Generate the file first then try again."; \
          echo " "; \
	fi

clean:
	rm -rf $(MANUALS); rm $(DOC)/$(DOC).tgz;