From e854ed8a05e7380aca38c60726169e32c1872955 Mon Sep 17 00:00:00 2001 From: "kaf24@scramble.cl.cam.ac.uk" Date: Tue, 2 Mar 2004 11:09:07 +0000 Subject: bitkeeper revision 1.761 (40446b53iVC1lWMdd8aC4YbIBLbvLg) Makefile: Installation fixes from Adam Heath. --- docs/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'docs/Makefile') diff --git a/docs/Makefile b/docs/Makefile index 94e84ef877..97836315c8 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -4,7 +4,7 @@ # Xfig and tgif diagrams should be in the fig/ subdirectory. # DOCUMENTS should be a list of the target Postscript files. -DOCUMENTS = interface.ps +DOCUMENTS = interface.ps interface.pdf GFX = $(patsubst %.obj, %.eps, $(wildcard figs/*.obj)) GFX += $(patsubst %.fig, %.eps, $(wildcard figs/*.fig)) @@ -17,10 +17,17 @@ pristine: clean clean: rm -f .word_count *.aux *.dvi *.bbl *.blg *.glo *.idx *~ rm -f *.ilg *.log *.ind *.toc *.bak core - rm -f figs/*.eps + rm -f figs/*.eps $(DOCUMENTS) + +install: $(DOCUMENTS) + mkdir -p $(prefix)/usr/share/doc/xen + cp -a $(DOCUMENTS) VBD-HOWTO.txt Xeno-1.2-HOWTO.txt $(prefix)/usr/share/doc/xen + +%.pdf: %.ps + ps2pdf $< $@ %.ps: %.dvi $(GFX) - dvips -o $@ $< + dvips -Ppdf -G0 -o $@ $< %.dvi: %.tex latex $* -- cgit v1.2.3