diff options
author | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-03-02 11:09:07 +0000 |
---|---|---|
committer | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-03-02 11:09:07 +0000 |
commit | e854ed8a05e7380aca38c60726169e32c1872955 (patch) | |
tree | 14b6672d89738bcfbfbce88809c4df6c930a250f /docs/Makefile | |
parent | 4665a2b24255c9de6fabf87a303a59d1318e39d7 (diff) | |
download | xen-e854ed8a05e7380aca38c60726169e32c1872955.tar.gz xen-e854ed8a05e7380aca38c60726169e32c1872955.tar.bz2 xen-e854ed8a05e7380aca38c60726169e32c1872955.zip |
bitkeeper revision 1.761 (40446b53iVC1lWMdd8aC4YbIBLbvLg)
Makefile:
Installation fixes from Adam Heath.
Diffstat (limited to 'docs/Makefile')
-rw-r--r-- | docs/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
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 $* |