ia64/xen-unstable

view docs/xen-api/Makefile @ 16381:d1ac500f77c1

x86, hvm: Allow stdvga acceleration to work with 32-bit x86.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Nov 16 14:40:22 2007 +0000 (2007-11-16)
parents 952004c3d822
children 71b8f46f376d
line source
1 #!/usr/bin/make -f
3 XEN_ROOT=../..
4 include $(XEN_ROOT)/Config.mk
5 include $(XEN_ROOT)/docs/Docs.mk
8 TEX := $(wildcard *.tex)
9 EPS := $(wildcard *.eps)
10 EPSDOT := $(patsubst %.dot,%.eps,$(wildcard *.dot))
12 .PHONY: all
13 all: build
15 .PHONY: build
16 build: xenapi.pdf xenapi.ps
18 install:
19 $(INSTALL_DIR) $(DESTDIR)$(pkgdocdir)/ps
20 $(INSTALL_DIR) $(DESTDIR)$(pkgdocdir)/pdf
22 [ -e xenapi.ps ] && cp xenapi.ps $(DESTDIR)$(pkgdocdir)/ps || true
23 [ -e xenapi.pdf ] && cp xenapi.pdf $(DESTDIR)$(pkgdocdir)/pdf || true
25 xenapi.dvi: $(TEX) $(EPS) $(EPSDOT)
26 $(LATEX) xenapi.tex
27 $(LATEX) xenapi.tex
28 rm -f *.aux *.log
30 %.pdf: %.ps
31 $(PS2PDF) $< $@
33 %.ps: %.dvi
34 $(DVIPS) $< -o $@
36 %.eps: %.dot
37 $(DOT) -Tps $< >$@
39 xenapi-datamodel-graph.eps: xenapi-datamodel-graph.dot
40 $(NEATO) -Goverlap=false -Tps $< >$@
42 .PHONY: clean
43 clean:
44 rm -f *.pdf *.ps *.dvi *.aux *.log $(EPSDOT)