~ubuntu-branches/ubuntu/raring/libvirt/raring

« back to all changes in this revision

Viewing changes to docs/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-11-19 10:41:02 UTC
  • mfrom: (1.2.15) (223.1.2 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20121119104102-l6ewdppikysbzztu
Tags: 1.0.0-0ubuntu2
debian/patches/add-armhf-sysinfo-infomration.patch: Disable
to fix FTBFS on arm.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
  architecture.gif \
72
72
  node.gif
73
73
 
74
 
dot_html_in = $(notdir $(wildcard $(srcdir)/*.html.in)) todo.html.in hvsupport.html.in \
75
 
      $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/internals/*.html.in))
 
74
 
 
75
internals_html_in = \
 
76
  $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/internals/*.html.in))
 
77
internals_html = $(internals_html_in:%.html.in=%.html)
 
78
 
 
79
dot_html_in = $(notdir $(wildcard $(srcdir)/*.html.in)) \
 
80
  todo.html.in \
 
81
  hvsupport.html.in
76
82
dot_html = $(dot_html_in:%.html.in=%.html)
77
83
 
 
84
dot_php_in = $(notdir $(wildcard $(srcdir)/*.php.in))
 
85
dot_php_code_in = $(dot_php_in:%.php.in=%.php.code.in)
 
86
dot_php = $(dot_php_in:%.php.in=%.php)
 
87
 
78
88
patches = $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/api_extension/*.patch))
79
89
 
80
90
xml = \
107
117
  $(dot_html) $(dot_html_in) $(gif) $(apihtml) $(apipng) \
108
118
  $(devhelphtml) $(devhelppng) $(devhelpcss) $(devhelpxsl) \
109
119
  $(xml) $(qemu_xml) $(fig) $(png) $(css) \
110
 
  $(patches) \
 
120
  $(patches) $(dot_php_in) $(dot_php_code_in) $(dot_php)\
 
121
  $(internals_html_in) $(internals_html) \
111
122
  sitemap.html.in \
112
123
  todo.pl hvsupport.pl todo.cfg-example
113
124
 
114
125
MAINTAINERCLEANFILES = \
115
126
  $(addprefix $(srcdir)/,$(dot_html)) \
116
127
  $(addprefix $(srcdir)/,$(apihtml)) \
117
 
  $(addprefix $(srcdir)/,$(devhelphtml))
 
128
  $(addprefix $(srcdir)/,$(devhelphtml)) \
 
129
  $(addprefix $(srcdir)/,$(internals_html)) \
 
130
  $(addprefix $(srcdir)/,$(dot_php))
118
131
 
119
132
all-am: web
120
133
 
121
134
api: $(srcdir)/libvirt-api.xml $(srcdir)/libvirt-refs.xml
122
135
qemu_api: $(srcdir)/libvirt-qemu-api.xml $(srcdir)/libvirt-qemu-refs.xml
123
136
 
124
 
web: $(dot_html) html/index.html devhelp/index.html
 
137
web: $(dot_html) $(internals_html) html/index.html devhelp/index.html \
 
138
  $(dot_php)
125
139
 
126
140
todo.html.in: todo.pl
127
141
        if [ -f  todo.cfg ]; then \
173
187
          || { rm $(srcdir)/$@ && exit 1; }; \
174
188
          else echo "missing XHTML1 DTD" ; fi ; fi
175
189
 
 
190
%.php.tmp: %.php.in site.xsl page.xsl sitemap.html.in
 
191
        @if [ -x $(XSLTPROC) ] ; then \
 
192
          echo "Generating $@"; \
 
193
          $(XSLTPROC) --stringparam pagename $(@:.tmp=) --nonet --html \
 
194
            $(top_srcdir)/docs/site.xsl $< > $@ \
 
195
            || { rm $@ && exit 1; }; fi
 
196
 
 
197
%.php: %.php.tmp %.php.code.in
 
198
        @if [ -x $(XSLTPROC) ] ; then \
 
199
          echo "Scripting $@"; \
 
200
            sed -e '/<a id="php_placeholder"><\/a>/r '"$(srcdir)/$@.code.in" \
 
201
            -e /php_placeholder/d < $@.tmp > $(srcdir)/$@ \
 
202
            || { rm $(srcdir)/$@ && exit 1; }; fi
176
203
 
177
204
html/index.html: libvirt-api.xml newapi.xsl page.xsl sitemap.html.in
178
205
        $(AM_V_GEN)if [ -x $(XSLTPROC) ] ; then \
238
265
          $(INSTALL) -m 0644 $(srcdir)/$$h $(DESTDIR)$(HTML_DIR)/html; done
239
266
        for p in $(apipng); do \
240
267
          $(INSTALL) -m 0644 $(srcdir)/$$p $(DESTDIR)$(HTML_DIR)/html; done
 
268
        $(mkinstalldirs) $(DESTDIR)$(HTML_DIR)/internals
 
269
        for f in $(internals_html); do \
 
270
          $(INSTALL) -m 0644 $(srcdir)/$$f $(DESTDIR)$(HTML_DIR)/internals; done
241
271
        $(mkinstalldirs) $(DESTDIR)$(DEVHELP_DIR)
242
272
        for file in $(devhelphtml) $(devhelppng) $(devhelpcss); do \
243
273
            $(INSTALL) -m 0644 $(srcdir)/$${file} $(DESTDIR)$(DEVHELP_DIR) ; \