Changeset 1993 for trunk/src/kmk/Makefile.DOS.template
- Timestamp:
- Oct 29, 2008, 1:37:51 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/Makefile.DOS.template
r903 r1993 3 3 # 4 4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 5 # 2004, 2005, 2006 Free Software Foundation, Inc.5 # 2004, 2005, 2006, 2007 Free Software Foundation, Inc. 6 6 # This file is part of GNU Make. 7 7 # 8 # GNU Make is free software; you can redistribute it and/or modify it under the 9 # terms of the GNU General Public License as published by the Free Software 10 # Foundation; either version 2, or (at your option) any later version. 8 # GNU Make is free software; you can redistribute it and/or modify it under 9 # the terms of the GNU General Public License as published by the Free Software 10 # Foundation; either version 3 of the License, or (at your option) any later 11 # version. 11 12 # 12 13 # GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY 13 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 14 # A PARTICULAR PURPOSE. See the GNU General Public License for more details. 14 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 15 # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 16 # details. 15 17 # 16 18 # You should have received a copy of the GNU General Public License along with 17 # GNU Make; see the file COPYING. If not, write to the Free Software 18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 # this program. If not, see <http://www.gnu.org/licenses/>. 19 20 20 21 SHELL = /bin/sh … … 83 84 make_LDADD = glob/libglob.a 84 85 85 info_TEXINFOS = make.texinfo86 86 man_MANS = make.1 87 87 … … 118 118 INFO_DEPS = make.info 119 119 DVIS = make.dvi 120 TEXINFOS = make.texinfo 120 TEXINFOS = doc/make.texi 121 noinst_TEXINFOS = doc/fdl.texi doc/make-stds.texi 121 122 man1dir = $(mandir)/man1 122 123 MANS = $(man_MANS) 124 125 TEXI2HTML = texi2html 126 TEXI2HTML_FLAGS = -split_chapter 123 127 124 128 NROFF = nroff … … 136 140 137 141 .SUFFIXES: 138 .SUFFIXES: .c .dvi .info .o .obj .ps .texi nfo .tex142 .SUFFIXES: .c .dvi .info .o .obj .ps .texi .tex .html 139 143 140 144 mostlyclean-hdr: … … 186 190 $(LINK) $(make_LDFLAGS) $(make_OBJECTS) $(make_LDADD) $(LIBS) 187 191 188 make.info: make.texinfo 189 make.dvi: make.texinfo 192 # Documentation 193 194 make.info: doc/make.texi 195 make.dvi: doc/make.texi 190 196 191 197 192 198 DVIPS = dvips 193 199 194 .texi nfo.info:200 .texi.info: 195 201 @command.com /c if exist make.info* del make.info* 196 202 @command.com /c if exist make.i* del make.i* 197 $(MAKEINFO) -I$(srcdir) $< -o ./$@198 199 .texi nfo:203 $(MAKEINFO) -I$(srcdir)/doc --no-split $< -o ./$@ 204 205 .texi: 200 206 @command.com /c if exist make.info* del make.info* 201 207 @command.com /c if exist make.i* del make.i* 202 $(MAKEINFO) -I$(srcdir) $< -o ./$@ 203 204 .texinfo.dvi: 205 TEXINPUTS="$(srcdir);$$TEXINPUTS" MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< 206 208 $(MAKEINFO) -I$(srcdir)/doc --no-split $< -o ./$@ 209 210 .texi.dvi: 211 TEXINPUTS="$(srcdir)/doc;$$TEXINPUTS" MAKEINFO='$(MAKEINFO) -I $(srcdir)/doc' $(TEXI2DVI) $< 207 212 208 213 .dvi.ps: 209 214 $(DVIPS) $< -o $@ 215 216 # Other documentation formats 217 218 html: make_1.html 219 220 make_1.html: $(TEXINFOS) $(noinst_TEXINFOS) 221 $(TEXI2HTML) $(TEXI2HTML_FLAGS) $(srcdir)/doc/make.texi 210 222 211 223 install-info-am: $(INFO_DEPS) 212 224 @$(NORMAL_INSTALL) 213 225 $(mkinstalldirs) $(DESTDIR)$(infodir) 214 @for file in $(INFO_DEPS) make.i; do d=$(srcdir); for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9] $$file[0-9] $$file[0-9][0-9]`; 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; done226 @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 215 227 @$(POST_INSTALL) 216 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 … … 220 232 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then ii=yes; else ii=; fi; for file in $(INFO_DEPS); do test -z $ii || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; done 221 233 $(NORMAL_UNINSTALL) 222 for file in $(INFO_DEPS) make.i; do (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9] $$file[0-9] $$file[0-9][0-9]); done234 for file in $(INFO_DEPS); do (cd $(DESTDIR)$(infodir) && rm -f $$file); done 223 235 224 236 dist-info: $(INFO_DEPS) … … 235 247 236 248 maintainer-clean-aminfo: 237 for i in $(INFO_DEPS) make.i; do rm -f `eval echo $$i*`; done249 for i in $(INFO_DEPS); do rm -f $$i*; done 238 250 239 251 install-man1: … … 455 467 install-exec install-data install uninstall all installdirs \ 456 468 mostlyclean-generic distclean-generic clean-generic \ 457 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 469 maintainer-clean-generic clean mostlyclean distclean maintainer-clean \ 470 html 458 471 459 472
Note:
See TracChangeset
for help on using the changeset viewer.