Edit

kc3-lang/automake/texinfos.am

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1995-11-27 21:34:45
    Hash : c42e754c
    Message : Fixes to clean targets.

  • texinfos.am
  • .texi.info:
    	$(MAKEINFO) -I$(srcdir) $<
    
    .texi.dvi:
    	TEXINPUTS=$(srcdir):$$TEXINPUTS $(TEXI2DVI) $<
    
    # Look in both . and srcdir because the info pages might have been
    # rebuilt in the build directory.  Can't cd to srcdir; that might
    # break a possible install-sh reference.
    install-info: $(INFO_DEPS)
    	$(top_srcdir)/mkinstalldirs $(infodir)
    	for file in $(INFO_DEPS); do		\
    	  if test -f $$file; then		\
    	    d=.;				\
    	  else					\
    	    d=${srcdir};			\
    	  fi;					\
    	  for ifile in $${file}*; do		\
    	    $(INSTALL_DATA) $$d/$$ifile $(infodir)/$$ifile; \
    	  done;					\
    	  if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
    	    install-info --infodir=$(infodir) $$d/$$file; \
    	  else					\
    	    true;				\
    	  fi;					\
    	done
    
    uninstall-info:
    	cd $(srcdir); for file in *.info*; do
    	  rm -f $(infodir)/$$file; \
    	done
    
    mostlyclean-info:
    	rm -f $(TEXFILES)
    
    clean-info:
    
    distclean-info:
    
    maintainer-clean-info:
    	rm -f $(INFOS)