Ignore:
Timestamp:
Jun 20, 2012, 12:44:52 AM (13 years ago)
Author:
bird
Message:

gnumake/current -> 3.82-cvs.

Location:
vendor/gnumake/current
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vendor/gnumake/current

    • Property svn:ignore deleted
  • vendor/gnumake/current/Makefile.DOS.template

    r1989 r2596  
    33#
    44# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
    5 # 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
     5# 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
    66# This file is part of GNU Make.
    77#
     
    8686man_MANS =      make.1
    8787
    88 INCLUDES =      -I$(srcdir)/glob -DLIBDIR=\"c:/djgpp/lib\" -DINCLUDEDIR=\"c:/djgpp/include\" -DLOCALEDIR=\"$(localedir)\"
     88INCLUDES =      -I$(srcdir)/glob -DLIBDIR=\"$(prefix)$(libdir)\" -DINCLUDEDIR=\"$(prefix)$(includedir)\" -DLOCALEDIR=\"$(prefix)$(localedir)\"
    8989
    9090BUILT_SOURCES = README build.sh-in
     
    9292EXTRA_DIST =    $(BUILT_SOURCES) $(man_MANS) README.customs remote-cstms.c  make-stds.texi texinfo.tex SCOPTIONS SMakefile  Makefile.ami README.Amiga config.ami amiga.c amiga.h  NMakefile README.DOS configh.dos configure.bat makefile.com  README.W32 build_w32.bat config.h-W32 subproc.bat make.lnk  config.h-vms makefile.vms readme.vms vmsdir.h vmsfunctions.c  vmsify.c
    9393
    94 SUBDIRS =       glob
     94SUBDIRS =       glob doc
    9595mkinstalldirs = ${exec_prefix}/bin/gmkdir -p
    9696CONFIG_HEADER = config.h
     
    116116TEXI2DVI = texi2dvi
    117117TEXINFO_TEX = $(srcdir)/config/texinfo.tex
    118 INFO_DEPS = make.info
    119 DVIS = make.dvi
     118INFO_DEPS = doc/make.info
     119DVIS = doc/make.dvi
    120120TEXINFOS = doc/make.texi
    121121noinst_TEXINFOS = doc/fdl.texi doc/make-stds.texi
    122122man1dir = $(mandir)/man1
    123123MANS = $(man_MANS)
    124 
    125 TEXI2HTML = texi2html
    126 TEXI2HTML_FLAGS = -split_chapter
    127124
    128125NROFF = nroff
     
    192189# Documentation
    193190
    194 make.info: doc/make.texi
    195 make.dvi: doc/make.texi
     191make.info: make.texi
     192make.dvi: make.texi
     193make.ps: make.dvi make.texi
     194make.html: make.texi
    196195
    197196
     
    201200        @command.com /c if exist make.info* del make.info*
    202201        @command.com /c if exist make.i* del make.i*
    203         $(MAKEINFO) -I$(srcdir)/doc --no-split $< -o ./$@
     202        $(MAKEINFO) -I$(srcdir) --no-split $< -o ./$@
    204203
    205204.texi:
    206205        @command.com /c if exist make.info* del make.info*
    207206        @command.com /c if exist make.i* del make.i*
    208         $(MAKEINFO) -I$(srcdir)/doc --no-split $< -o ./$@
     207        $(MAKEINFO) -I$(srcdir) --no-split $< -o ./$@
    209208
    210209.texi.dvi:
    211         TEXINPUTS="$(srcdir)/doc;$$TEXINPUTS"    MAKEINFO='$(MAKEINFO) -I $(srcdir)/doc' $(TEXI2DVI) $<
     210        TEXINPUTS="$(srcdir);$$TEXINPUTS"    MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
    212211
    213212.dvi.ps:
     
    216215# Other documentation formats
    217216
    218 html: make_1.html
    219 
    220 make_1.html: $(TEXINFOS) $(noinst_TEXINFOS)
    221         $(TEXI2HTML) $(TEXI2HTML_FLAGS) $(srcdir)/doc/make.texi
     217html: html-recursive
     218
     219.texi.html:
     220        @command.com /c if exist make.html* del make.html*
     221        $(MAKEINFO) --html -I$(srcdir) --no-split $< -o ./$@
    222222
    223223install-info-am: $(INFO_DEPS)
    224224        @$(NORMAL_INSTALL)
    225225        $(mkinstalldirs) $(DESTDIR)$(infodir)
    226         @for file in $(INFO_DEPS); do    d=$(srcdir);    for ifile in `cd $$d && echo $$file`; do      if test -f $$d/$$ifile; then        echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; else : ; fi;    done;  done
     226        @for file in $(INFO_DEPS); do    iifile=`echo $$file | sed "s|doc/||"`;    d=$(srcdir);    for ifile in `cd $$d && echo $$file`; do      if test -f $$d/$$ifile; then        echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$iifile"; $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$iifile; else : ; fi;    done;  done
    227227        @$(POST_INSTALL)
    228         @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then    for file in $(INFO_DEPS); do      echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";     install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;   done;  else : ; fi
     228        @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then    for file in $(INFO_DEPS); do    iifile=`echo $$file | sed "s|doc/||"`;      echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$iifile";     install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$iifile || :;   done;  else : ; fi
    229229
    230230uninstall-info:
     
    238238
    239239mostlyclean-aminfo:
    240         -rm -f make.aux make.cp make.cps make.dvi make.fn make.fns make.ky \
    241           make.kys make.ps make.log make.pg make.toc make.tp make.tps \
    242           make.vr make.vrs make.op make.tr make.cv make.cn
     240        -rm -f $(srcdir)/doc/make.aux $(srcdir)/doc/make.cp $(srcdir)/doc/make.cps $(srcdir)/doc/make.dvi \
     241          $(srcdir)/doc/make.fn $(srcdir)/doc/make.fns $(srcdir)/doc/make.ky $(srcdir)/doc/make.kys \
     242          $(srcdir)/doc/make.ps $(srcdir)/doc/make.log $(srcdir)/doc/make.pg $(srcdir)/doc/make.toc \
     243          $(srcdir)/doc/make.tp $(srcdir)/doc/make.tps $(srcdir)/doc/make.vr $(srcdir)/doc/make.vrs \
     244          $(srcdir)/doc/make.op $(srcdir)/doc/make.tr $(srcdir)/doc/make.cv $(srcdir)/doc/make.cn \
     245          $(srcdir)/doc/make.html
    243246
    244247clean-aminfo:
     
    292295# a single directory, yell bloody murder.
    293296all-recursive:
    294 ifeq ($(words $(SUBDIRS)), 1)
     297ifeq ($(findstring glob, $(SUBDIRS)), glob)
    295298        @command.com /c if not exist glob\\nul md glob
    296         @echo Making all in $(SUBDIRS)
    297         $(MAKE) -C $(SUBDIRS) -f ../Makefile INCLUDES='-I$(srcdir) -I$(srcdir)/glob' DEFS='-I.. -I$(srcdir)' VPATH=$(srcdir)/glob libglob.a
    298 else
    299         @echo FATAL: There is more than one directory in "($(SUBDIRS))"
    300         @$(EXIT_FAIL)
     299        @echo Making all in glob
     300        $(MAKE) -C glob -f ../Makefile INCLUDES='-I$(srcdir) -I$(srcdir)/glob' DEFS='-I.. -I$(srcdir)' VPATH=$(srcdir)/glob libglob.a
    301301endif
    302302
     
    311311mostlyclean-recursive clean-recursive distclean-recursive \
    312312maintainer-clean-recursive check-recursive:
    313 ifeq ($(words $(SUBDIRS)), 1)
    314         @echo Making $(shell echo $@ | sed s/-recursive//) in $(SUBDIRS)
    315         $(MAKE) -C $(SUBDIRS) -f ../Makefile $(shell echo $@ | sed s/-recursive//)-am
     313ifeq ($(words $(SUBDIRS)), 2)
     314        @echo Making $(shell echo $@ | sed s/-recursive//) in glob
     315        $(MAKE) -C glob -f ../Makefile $(shell echo $@ | sed s/-recursive//)-am
     316        @echo Making $(shell echo $@ | sed s/-recursive//) in doc
     317        $(MAKE) -C doc -f ../Makefile $(shell echo $@ | sed s/-recursive//)-am
    316318else
    317         @echo FATAL: There is more than one directory in "($(SUBDIRS))"
     319        @echo FATAL: There is more than two directory in "($(SUBDIRS))"
    318320        @$(EXIT_FAIL)
    319321endif
     
    323325
    324326tags-recursive:
    325 ifeq ($(words $(SUBDIRS)), 1)
     327ifeq ($(words $(SUBDIRS)), 2)
    326328        $(MAKE) tags-in-glob
    327329else
    328         @echo FATAL: There is more than one directory in "($(SUBDIRS))"
     330        @echo FATAL: There is more than two directory in "($(SUBDIRS))"
    329331        @$(EXIT_FAIL)
    330332endif
     
    377379        $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
    378380
    379 info: $(INFO_DEPS) info-recursive
    380 dvi: $(DVIS) dvi-recursive
     381info: info-recursive
     382info-recursive:
     383ifeq ($(findstring doc, $(SUBDIRS)), doc)
     384        @command.com /c if not exist doc\\nul md doc
     385        @echo Making all in doc
     386        $(MAKE) -C doc -f ../Makefile VPATH=$(srcdir)/doc make.info
     387endif
     388
     389dvi: dvi-recursive
     390dvi-recursive:
     391ifeq ($(findstring doc, $(SUBDIRS)), doc)
     392        @command.com /c if not exist doc\\nul md doc
     393        @echo Making all in doc
     394        $(MAKE) -C doc -f ../Makefile VPATH=$(srcdir)/doc make.dvi
     395endif
     396
     397ps: ps-recursive
     398ps-recursive:
     399ifeq ($(findstring doc, $(SUBDIRS)), doc)
     400        @command.com /c if not exist doc\\nul md doc
     401        @echo Making all in doc
     402        $(MAKE) -C doc -f ../Makefile VPATH=$(srcdir)/doc make.ps
     403endif
     404
     405html-recursive:
     406ifeq ($(findstring doc, $(SUBDIRS)), doc)
     407        @command.com /c if not exist doc\\nul md doc
     408        @echo Making all in doc
     409        $(MAKE) -C doc -f ../Makefile VPATH=$(srcdir)/doc make.html
     410endif
     411
    381412check: all-am check-recursive check-local
    382413        @:
     
    385416        $(MAKE) all-recursive
    386417
    387 all-am: Makefile $(INFO_DEPS) $(PROGRAMS) config.h
     418all-am: Makefile $(PROGRAMS) config.h info
    388419
    389420install-exec-am: install-binPROGRAMS
Note: See TracChangeset for help on using the changeset viewer.