2006-02-22 10:54:54 +00:00
|
|
|
DEVHELP_DIR=$(datadir)/gtk-doc/html/libvirt
|
|
|
|
HTML_FILES=index.html general.html $(HTML_MODULES)
|
|
|
|
HTML_MODULES= \
|
2009-01-14 17:30:39 +00:00
|
|
|
libvirt-libvirt.html \
|
|
|
|
libvirt-virterror.html
|
2006-02-22 10:54:54 +00:00
|
|
|
|
|
|
|
EXTRA_FORMAT= \
|
|
|
|
home.png \
|
|
|
|
left.png \
|
|
|
|
right.png \
|
|
|
|
up.png \
|
|
|
|
style.css
|
|
|
|
|
|
|
|
EXTRA_DIST=devhelp.xsl html.xsl libvirt.devhelp $(HTML_FILES) $(EXTRA_FORMAT)
|
|
|
|
|
|
|
|
all: libvirt.devhelp $(HTML_FILES)
|
|
|
|
|
2008-12-12 09:47:14 +00:00
|
|
|
libvirt.devhelp $(HTML_FILES): $(srcdir)/devhelp.xsl html.xsl $(top_srcdir)/docs/libvirt-api.xml
|
2006-02-22 10:54:54 +00:00
|
|
|
-@(echo Rebuilding devhelp files)
|
|
|
|
-@(if [ -x $(XSLTPROC) ] ; then \
|
2009-01-14 17:30:39 +00:00
|
|
|
$(XSLTPROC) --nonet -o libvirt.devhelp $(srcdir)/devhelp.xsl $(top_srcdir)/docs/libvirt-api.xml ; fi );
|
2006-02-22 10:54:54 +00:00
|
|
|
|
2008-02-05 19:27:37 +00:00
|
|
|
install-data-local:
|
2006-02-22 10:54:54 +00:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(DEVHELP_DIR)
|
|
|
|
-@INSTALL@ -m 0644 libvirt.devhelp $(DESTDIR)$(DEVHELP_DIR)
|
|
|
|
-@INSTALL@ -m 0644 $(HTML_FILES) $(DESTDIR)$(DEVHELP_DIR)
|
2009-01-14 17:30:39 +00:00
|
|
|
-for file in $(EXTRA_FORMAT); do \
|
|
|
|
@INSTALL@ -m 0644 $(srcdir)/$${file} $(DESTDIR)$(DEVHELP_DIR) ; \
|
|
|
|
done
|