ia64/xen-unstable

view docs/xen-api/Makefile @ 18673:687601e21055

Update cpufreq statistic protection

For struct pm_px, there are 3 pointer: pxpt, pt, trans_pt.
Partly free pointer 'pt' and 'trans_pt' will result in little memory
leak, and what is more, will result in protection issue when user
access px statistic info through libxc.

Signed-off-by: Liu, Jinsong <jinsong.liu@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Oct 21 09:48:56 2008 +0100 (2008-10-21)
parents 4ce366cde89c
children
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)$(DOCDIR)/ps
20 $(INSTALL_DIR) $(DESTDIR)$(DOCDIR)/pdf
22 [ -e xenapi.ps ] && cp xenapi.ps $(DESTDIR)$(DOCDIR)/ps || true
23 [ -e xenapi.pdf ] && cp xenapi.pdf $(DESTDIR)$(DOCDIR)/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 *.out $(EPSDOT)