Branch: Tag:

2004-03-09

2004-03-09 02:27:51 by Martin Nilsson <mani@lysator.liu.se>

If there is no autodoc.xml during install, bail out instead of build one.

Rev: src/Makefile.in:1.379

1:   # - # $Id: Makefile.in,v 1.378 2004/01/13 18:26:50 grubba Exp $ + # $Id: Makefile.in,v 1.379 2004/03/09 02:27:51 nilsson Exp $   #      # This line is needed on some machines.
425:    @:      # install - install: pike tools autodoc.xml + install: pike tools +  @if [ -f autodoc.xml ]; then : ; else \ +  echo ; \ +  echo 'No documentation source built!'; \ +  echo 'Type "make doc" to make a documentation source file'; \ +  echo 'or "make install_nodoc" to install without a documentation'; \ +  echo 'source.' ; \ +  echo ; \ +  exit 1; \ +  fi    @$(RUNPIKE) $(TMP_BINDIR)/install.pike \    exec_prefix="$(exec_prefix)" lib_prefix="$(lib_prefix)" \    TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \
435:    fakeroot="$(buildroot)" PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)" \    $(INSTALLARGS)    - install_interactive: pike tools autodoc.xml + install_nodoc: pike tools +  @$(RUNPIKE) $(TMP_BINDIR)/install.pike \ +  exec_prefix="$(exec_prefix)" lib_prefix="$(lib_prefix)" \ +  TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \ +  SRCDIR="$(SRCDIR)" prefix="$(prefix)" DOCDIR_SRC="$(DOCDIR_SRC)" \ +  MANDIR_SRC="$(MANDIR_SRC)" \ +  man_prefix="$(man_prefix)" pike_name=$(pike_name) \ +  fakeroot="$(buildroot)" PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)" \ +  --no-autodoc $(INSTALLARGS) +  + install_interactive: pike tools +  @if [ -f autodoc.xml ]; then : ; else \ +  echo ; \ +  echo 'No documentation source built!'; \ +  echo 'Type "make doc" to make a documentation source file'; \ +  echo 'or "make install_interactive_nodoc" to install without a'; \ +  echo 'documentation source.' ; \ +  echo ; \ +  exit 1; \ +  fi    @$(RUNPIKE) $(TMP_BINDIR)/install.pike --interactive \    exec_prefix="$(exec_prefix)" prefix=$(prefix) \    TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \
443:    MANDIR_SRC="$(MANDIR_SRC)" \    fakeroot="$(buildroot)" PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)"    + install_interactive_nodoc: pike tools +  @$(RUNPIKE) $(TMP_BINDIR)/install.pike --interactive \ +  exec_prefix="$(exec_prefix)" prefix=$(prefix) \ +  TMP_LIBDIR="$(TMP_LIBDIR)" LIBDIR_SRC="$(LIBDIR_SRC)" \ +  SRCDIR="$(SRCDIR)" DOCDIR_SRC="$(DOCDIR_SRC)" \ +  MANDIR_SRC="$(MANDIR_SRC)" \ +  fakeroot="$(buildroot)" PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)" \ +  --no-autodoc +    # tidy up a bit   tidy:    -rm -f *.fail *.o *.obj *.pp *.protos core y.output y.tab.c y.tab.h