ia64/xen-unstable

changeset 4107:fcd17066e110

bitkeeper revision 1.1159.270.1 (423308766_Mxiqyj1XF-m4OxnLnExA)

No longer require latex2html (bizarrely considered 'non-free' by Debian
maintainers) to build docs. Instead we still build PS/PDF docs, but skip
HTML docs.
Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
author kaf24@viper.(none)
date Sat Mar 12 15:19:18 2005 +0000 (2005-03-12)
parents 1b23a3ae5792
children 4d7f2d346576
files docs/Makefile docs/check_pkgs
line diff
     1.1 --- a/docs/Makefile	Fri Mar 11 01:52:33 2005 +0000
     1.2 +++ b/docs/Makefile	Sat Mar 12 15:19:18 2005 +0000
     1.3 @@ -25,7 +25,9 @@ ps: $(DOC_PS)
     1.4  
     1.5  pdf: $(DOC_PDF)
     1.6  
     1.7 -html: $(DOC_HTML)
     1.8 +html:
     1.9 +	@if which $(LATEX2HTML) 1>/dev/null 2>/dev/null; then \
    1.10 +	$(MAKE) $(DOC_HTML); fi
    1.11  
    1.12  clean:
    1.13  	rm -rf .word_count *.aux *.dvi *.bbl *.blg *.glo *.idx *~ 
    1.14 @@ -37,7 +39,7 @@ install: all
    1.15  	$(INSTALL_DIR) $(DESTDIR)$(pkgdocdir)
    1.16  	cp -dR ps $(DESTDIR)$(pkgdocdir)
    1.17  	cp -dR pdf $(DESTDIR)$(pkgdocdir)
    1.18 -	cp -dR html $(DESTDIR)$(pkgdocdir)
    1.19 +	[ ! -d html ] || cp -dR html $(DESTDIR)$(pkgdocdir)
    1.20  
    1.21  pdf/%.pdf: ps/%.ps
    1.22  	$(INSTALL_DIR) $(@D)
     2.1 --- a/docs/check_pkgs	Fri Mar 11 01:52:33 2005 +0000
     2.2 +++ b/docs/check_pkgs	Sat Mar 12 15:19:18 2005 +0000
     2.3 @@ -13,7 +13,6 @@ silent_which ()
     2.4  }
     2.5  
     2.6  silent_which latex      || exit 1
     2.7 -silent_which latex2html || exit 1
     2.8  silent_which dvips      || exit 1
     2.9  silent_which ps2pdf     || exit 1
    2.10  silent_which fig2dev    || exit 1