--- tclpkg/gv/Makefile.am.orig 2007-02-17 22:48:51.000000000 +0100 +++ tclpkg/gv/Makefile.am 2007-02-17 22:50:31.000000000 +0100 @@ -184,7 +184,12 @@ gv_sharp.man gv_guile.man gv_io.man gv_java.man gv_lua.man \ gv_ocaml.man gv_perl.man gv_php.man gv_python.man gv_ruby.man \ gv_tcl.man: gv.i gv_doc_writer.tcl gv_doc_template.tcl gv_doc_langs.tcl - tclsh $(srcdir)/gv_doc_writer.tcl "$(srcdir)" +if WITH_TCL + $(TCLSH) $(srcdir)/gv_doc_writer.tcl "$(srcdir)" +else + echo "Not building man pages as they would require tcl" + touch $@ +endif install-data-hook: (cd $(DESTDIR)$(pkgluadir); rm -f gv.so; $(LN_S) libgv_lua.so gv.so;)