Add install-dvi Makefile targets.

Closes #102663

ChangeLog:

	PR other/102663
	* Makefile.def: Handle install-dvi target.
	* Makefile.tpl: Likewise.
	* Makefile.in: Regenerate.

c++tools/ChangeLog:

	PR other/102663
	* Makefile.in: Add dummy install-dvi target.

gcc/ChangeLog:

	PR other/102663
	* Makefile.in: Handle dvidir and install-dvi target.
	* configure: Regenerate.
	* configure.ac: Add install-dvi to target_list.

gcc/ada/ChangeLog:

	PR other/102663
	* gcc-interface/Make-lang.in: Allow dvi-formatted
	documentation to be installed.

gcc/c/ChangeLog:

	PR other/102663
	* Make-lang.in: Add dummy c.install-dvi target.

gcc/cp/ChangeLog:

	PR other/102663
	* Make-lang.in: Add dummy c++.install-dvi target.

gcc/d/ChangeLog:

	PR other/102663
	* Make-lang.in: Allow dvi-formatted documentation
	to be installed.

gcc/fortran/ChangeLog:

	PR other/102663
	* Make-lang.in: Allow dvi-formatted documentation
	to be installed.

gcc/lto/ChangeLog:

	PR other/102663
	* Make-lang.in: Add dummy lto.install-dvi target.

gcc/objc/ChangeLog:

	PR other/102663
	* Make-lang.in: Add dummy objc.install-dvi target.

gcc/objcp/ChangeLog:

	PR other/102663
	* Make-lang.in: Add dummy objc++.install-dvi target.

gnattools/ChangeLog:

	PR other/102663
	* Makefile.in: Add dummy install-dvi target.

libada/ChangeLog:

	PR other/102663
	* Makefile.in: Add dummy install-dvi target.

libcpp/ChangeLog:

	PR other/102663
	* Makefile.in: Add dummy install-dvi target.

libdecnumber/ChangeLog:

	PR other/102663
	* Makefile.in: Add dummy install-dvi target.

libiberty/ChangeLog:

	PR other/102663
	* Makefile.in: Allow dvi-formatted documentation
	to be installed.
This commit is contained in:
Eric Gallager 2021-10-22 15:24:15 -07:00
parent 47d4899183
commit c3e80a16af
20 changed files with 2139 additions and 36 deletions

View File

@ -42,7 +42,8 @@ host_modules= { module= dejagnu; };
host_modules= { module= etc; };
host_modules= { module= fastjar; no_check_cross= true; };
host_modules= { module= fixincludes; bootstrap=true;
missing= TAGS; };
missing= TAGS;
missing= install-dvi; };
host_modules= { module= flex; no_check_cross= true; };
host_modules= { module= gas; bootstrap=true; };
host_modules= { module= gcc; bootstrap=true;
@ -87,9 +88,11 @@ host_modules= { module= libcody; bootstrap=true;
missing= pdf;
missing= html;
missing= info;
missing= dvi;
missing= install-pdf;
missing= install-html;
missing= install-info;
missing= install-dvi;
missing=TAGS; };
host_modules= { module= libdecnumber; bootstrap=true;
missing=TAGS; };
@ -164,12 +167,14 @@ target_modules = { module= liboffloadmic;
target_modules = { module= libssp; lib_path=.libs; };
target_modules = { module= newlib; };
target_modules = { module= libgcc; bootstrap=true; no_check=true;
missing=TAGS; };
missing=TAGS;
missing=install-dvi; };
target_modules = { module= libbacktrace; };
target_modules = { module= libquadmath; };
target_modules = { module= libgfortran; };
target_modules = { module= libobjc;
missing=TAGS; };
missing=TAGS;
missing=install-dvi; };
target_modules = { module= libgo; };
target_modules = { module= libphobos;
lib_path=src/.libs; };
@ -205,6 +210,9 @@ recursive_targets = { make_target= TAGS;
recursive_targets = { make_target= install-info;
depend=configure;
depend=info; };
recursive_targets = { make_target= install-dvi;
depend=configure;
depend=dvi; };
recursive_targets = { make_target= install-pdf;
depend=configure;
depend=pdf; };

File diff suppressed because it is too large Load Diff

View File

@ -836,7 +836,7 @@ do-[+make_target+]:
# Here are the targets which correspond to the do-X targets.
.PHONY: info installcheck dvi pdf html
.PHONY: install-info install-pdf install-html
.PHONY: install-info install-dvi install-pdf install-html
.PHONY: clean distclean mostlyclean maintainer-clean realclean
.PHONY: local-clean local-distclean local-maintainer-clean
info: do-info
@ -855,6 +855,8 @@ install-info: do-install-info dir.info
$(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info; \
else true; fi
install-dvi: do-install-dvi
install-pdf: do-install-pdf
install-html: do-install-html

View File

@ -59,6 +59,7 @@ html::
info::
install-info::
install-pdf::
install-dvi::
install-man::
install-html::

View File

@ -713,6 +713,8 @@ tmpdir = /tmp
datarootdir = @datarootdir@
docdir = @docdir@
# Directory in which to put DVIs
dvidir = @dvidir@
# Directory in which to build HTML
build_htmldir = $(objdir)/HTML/gcc-$(version)
# Directory in which to put HTML
@ -3386,8 +3388,10 @@ $(build_htmldir)/gcc/index.html: $(TEXI_GCC_FILES)
$(build_htmldir)/gccint/index.html: $(TEXI_GCCINT_FILES)
$(build_htmldir)/cppinternals/index.html: $(TEXI_CPPINT_FILES)
dvi:: doc/gcc.dvi doc/gccint.dvi doc/gccinstall.dvi doc/cpp.dvi \
doc/cppinternals.dvi lang.dvi
DVIFILES = doc/gcc.dvi doc/gccint.dvi doc/gccinstall.dvi doc/cpp.dvi \
doc/cppinternals.dvi
dvi:: $(DVIFILES) lang.dvi
doc/%.dvi: %.texi
$(TEXI2DVI) -I . -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $<
@ -3797,6 +3801,18 @@ $(DESTDIR)$(infodir)/%.info: doc/%.info installdirs
else true; fi; \
else true; fi;
dvi__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
install-dvi: $(DVIFILES) lang.install-dvi
@$(NORMAL_INSTALL)
test -z "$(dvidir)/gcc" || $(mkinstalldirs) "$(DESTDIR)$(dvidir)/gcc"
@list='$(DVIFILES)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(dvi__strip_dir) \
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(dvidir)/gcc/$$f'"; \
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(dvidir)/gcc/$$f"; \
done
pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
install-pdf: $(PDFFILES) lang.install-pdf

View File

@ -838,8 +838,20 @@ ada.install-info: $(DESTDIR)$(infodir)/gnat_ugn.info \
$(DESTDIR)$(infodir)/gnat_rm.info \
$(DESTDIR)$(infodir)/gnat-style.info
ada.dvi: doc/gnat_ugn.dvi \
doc/gnat_rm.dvi doc/gnat-style.dvi
ADA_DVIFILES = doc/gnat_ugn.dvi \
doc/gnat_rm.dvi doc/gnat-style.dvi
ada.dvi: $(ADA_DVIFILES)
ada.install-dvi: $(ADA_DVIFILES)
@$(NORMAL_INSTALL)
test -z "$(dvidir)/gcc" || $(mkinstalldirs) "$(DESTDIR)$(dvidir)/gcc"
@list='$(ADA_DVIFILES)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(dvi__strip_dir) \
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(dvidir)/gcc/$$f'"; \
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(dvidir)/gcc/$$f"; \
done
ADA_PDFFILES = doc/gnat_ugn.pdf \
doc/gnat_rm.pdf doc/gnat-style.pdf

View File

@ -99,6 +99,7 @@ c.dvi:
c.pdf:
c.html:
c.install-info:
c.install-dvi:
c.install-pdf:
c.install-html:
c.all.cross:

4
gcc/configure vendored
View File

@ -31555,8 +31555,8 @@ done
rm -f Make-hooks
touch Make-hooks
target_list="all.cross start.encap rest.encap tags \
install-common install-man install-info install-pdf install-html dvi \
pdf html uninstall info man srcextra srcman srcinfo \
install-common install-man install-info install-dvi install-pdf \
install-html dvi pdf html uninstall info man srcextra srcman srcinfo \
mostlyclean clean distclean maintainer-clean install-plugin"
for t in $target_list

View File

@ -7218,8 +7218,8 @@ done
rm -f Make-hooks
touch Make-hooks
target_list="all.cross start.encap rest.encap tags \
install-common install-man install-info install-pdf install-html dvi \
pdf html uninstall info man srcextra srcman srcinfo \
install-common install-man install-info install-dvi install-pdf \
install-html dvi pdf html uninstall info man srcextra srcman srcinfo \
mostlyclean clean distclean maintainer-clean install-plugin"
for t in $target_list

View File

@ -165,6 +165,7 @@ c++.rest.encap:
c++.info:
c++.install-info:
c++.dvi:
c++.install-dvi:
c++.pdf:
c++.install-pdf:
c++.install-html:

View File

@ -268,6 +268,16 @@ d.install-pdf: doc/gdc.pdf
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/gcc/$$f"; \
done
d.install-dvi: doc/gdc.dvi
@$(NORMAL_INSTALL)
test -z "$(dvidir)" || $(mkinstalldirs) "$(DESTDIR)$(dvidir)/gcc"
@for p in doc/gdc.dvi; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(dvi__strip_dir) \
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(dvidir)/gcc/$$f'"; \
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(dvidir)/gcc/$$f"; \
done
d.install-html: $(build_htmldir)/d
@$(NORMAL_INSTALL)
test -z "$(htmldir)" || $(mkinstalldirs) "$(DESTDIR)$(htmldir)"

View File

@ -117,7 +117,20 @@ fortran.tags: force
etags --include TAGS.sub --include ../TAGS.sub
fortran.info: doc/gfortran.info doc/gfc-internals.info
fortran.dvi: doc/gfortran.dvi doc/gfc-internals.dvi
F95_DVIFILES = doc/gfortran.dvi
fortran.dvi: $(F95_DVIFILES) doc/gfc-internals.dvi
fortran.install-dvi: $(F95_DVIFILES)
@$(NORMAL_INSTALL)
test -z "$(dvidir)/gcc" || $(mkinstalldirs) "$(DESTDIR)$(dvidir)/gcc"
@list='$(F95_DVIFILES)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(dvi__strip_dir) \
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(dvidir)/gcc/$$f'"; \
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(dvidir)/gcc/$$f"; \
done
F95_HTMLFILES = $(build_htmldir)/gfortran

View File

@ -60,6 +60,7 @@ lto.install-common: installdirs
lto.install-man:
lto.install-info:
lto.dvi:
lto.install-dvi:
lto.pdf:
lto.install-pdf:
lto.html:

View File

@ -91,6 +91,7 @@ objc.rest.encap:
objc.info:
objc.install-info:
objc.dvi:
objc.install-dvi:
objc.pdf:
objc.install-pdf:
objc.html:

View File

@ -124,6 +124,7 @@ obj-c++.rest.encap:
obj-c++.info:
obj-c++.install-info:
obj-c++.dvi:
obj-c++.install-dvi:
obj-c++.pdf:
obj-c++.install-pdf:
obj-c++.html:

View File

@ -259,9 +259,11 @@ install-info:
install-pdf:
install-dvi:
install-html:
.PHONY: install install-strip install-info install-pdf install-html
.PHONY: install install-strip install-info install-pdf install-dvi install-html
# Cleaning rules.
mostlyclean:

View File

@ -151,9 +151,11 @@ install-info:
install-pdf:
install-dvi:
install-html:
.PHONY: install install-strip install-info install-pdf install-html
.PHONY: install install-strip install-info install-pdf install-dvi install-html
# Cleaning rules.
mostlyclean:

View File

@ -195,6 +195,7 @@ html:
info:
install-info:
install-pdf:
install-dvi:
install-man:
install-html:
@ -202,7 +203,7 @@ update-po: $(CATALOGS:.gmo=.pox)
.PHONY: installdirs install install-strip mostlyclean clean distclean \
maintainer-clean check installcheck dvi pdf html info install-info \
install-man update-po install-html
install-man update-po install-html install-pdf install-dvi
# Dependency rule.
COMPILE.base = $(COMPILER) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(COMPILER_FLAGS) -c

View File

@ -178,13 +178,14 @@ html:
info:
install-info:
install-pdf:
install-dvi:
install-man:
install-html:
install:
.PHONY: installdirs install install-strip mostlyclean clean distclean \
maintainer-clean check installcheck dvi pdf html info install-info \
install-pdf install-man update-po install-html
install-pdf install-dvi install-man update-po install-html
COMPILE = source='$<' object='$@' libtool=no $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(ALL_CFLAGS) -c

View File

@ -29,6 +29,7 @@ bindir = @bindir@
libdir = @libdir@
includedir = @includedir@
target_header_dir = @target_header_dir@
dvidir = @dvidir@
objext = @OBJEXT@
SHELL = @SHELL@
@ -276,7 +277,24 @@ $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
info: libiberty.info info-subdir
install-info: install-info-subdir
clean-info: clean-info-subdir
dvi: libiberty.dvi dvi-subdir
LIBIBERTY_DVIFILES = libiberty.dvi
dvi: $(LIBIBERTY_DVIFILES) dvi-subdir
.PHONY: install-dvi
dvi__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
install-dvi: $(LIBIBERTY_DVIFILES)
@$(NORMAL_INSTALL)
test -z "$(dvidir)" || $(mkinstalldirs) "$(DESTDIR)$(dvidir)"
@list='$(LIBIBERTY_DVIFILES)'; for p in $$list; do \
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
f=$(dvi__strip_dir) \
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(dvidir)/$$f'"; \
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(dvidir)/$$f"; \
done
LIBIBERTY_PDFFILES = libiberty.pdf