Blob Blame History Raw
diff -rup xen-3.2.0.orig/docs/Makefile xen-3.2.0.new/docs/Makefile
--- xen-3.2.0.orig/docs/Makefile	2008-01-16 13:34:59.000000000 -0500
+++ xen-3.2.0.new/docs/Makefile	2008-02-03 13:12:19.000000000 -0500
@@ -21,11 +21,7 @@ GFX = $(patsubst %.fig, %.eps, $(wildcar
 all: build
 
 .PHONY: build
-build: ps pdf html man-pages
-	@if which $(DOT) 1>/dev/null 2>/dev/null ; then              \
-	$(MAKE) -C xen-api build ; else                              \
-        echo "Graphviz (dot) not installed; skipping xen-api." ; fi
-	rm -f *.aux *.dvi *.bbl *.blg *.glo *.idx *.ilg *.log *.ind *.toc
+build: man-pages
 
 .PHONY: dev-docs
 dev-docs: python-dev-docs
@@ -80,17 +76,9 @@ distclean: clean
 
 .PHONY: install
 install: all
-	rm -rf $(DESTDIR)$(pkgdocdir)
-	$(INSTALL_DIR) $(DESTDIR)$(pkgdocdir)
-
-	$(MAKE) -C xen-api install
-
-	cp -dR ps $(DESTDIR)$(pkgdocdir)
-	cp -dR pdf $(DESTDIR)$(pkgdocdir)
 	$(INSTALL_DIR) $(DESTDIR)$(mandir)
 	cp -dR man1 $(DESTDIR)$(mandir)
 	cp -dR man5 $(DESTDIR)$(mandir)
-	[ ! -d html ] || cp -dR html $(DESTDIR)$(pkgdocdir)
 
 pdf/%.pdf: ps/%.ps
 	$(INSTALL_DIR) $(@D)