b1a8264baf
More configurability, newer snapshot, and killed gnu-make
76 lines
3.2 KiB
Plaintext
76 lines
3.2 KiB
Plaintext
--- gcc/Makefile.in.orig Mon Nov 23 05:05:44 1998
|
||
+++ gcc/Makefile.in Mon Nov 23 05:09:18 1998
|
||
@@ -461,6 +461,10 @@
|
||
PROTOIZE_INSTALL_NAME = `t='$(program_transform_name)'; echo protoize | sed -e $$t`
|
||
UNPROTOIZE_INSTALL_NAME = `t='$(program_transform_name)'; echo unprotoize | sed -e $$t`
|
||
|
||
+# documentation for cpp should not supersede default documentation
|
||
+CPP_INFO_NAME = `t='$(program_transform_name)'; echo cpp | sed -e $$t`
|
||
+CPP_MAN_NAME = `t='$(program_transform_name)'; echo cccp | sed -e $$t`
|
||
+
|
||
# Actual name to use when installing a cross-compiler.
|
||
GCC_CROSS_NAME = `t='$(program_transform_cross_name)'; echo gcc | sed -e $$t`
|
||
PROTOIZE_CROSS_NAME = `t='$(program_transform_cross_name)'; echo protoize | sed -e $$t`
|
||
@@ -2168,12 +2172,14 @@
|
||
info: cpp.info gcc.info lang.info
|
||
|
||
cpp.info: $(srcdir)/cpp.texi
|
||
- $(MAKEINFO) $(MAKEINFOFLAGS) -I$(srcdir) -o cpp.info $(srcdir)/cpp.texi
|
||
+ $(MAKEINFO) $(MAKEINFOFLAGS) -I$(srcdir) -o $(CPP_INFO_NAME).info \
|
||
+ $(srcdir)/cpp.texi && touch $@
|
||
|
||
gcc.info: $(srcdir)/gcc.texi $(srcdir)/extend.texi $(srcdir)/install.texi \
|
||
$(srcdir)/invoke.texi $(srcdir)/md.texi $(srcdir)/rtl.texi \
|
||
$(srcdir)/tm.texi $(srcdir)/gcov.texi
|
||
- $(MAKEINFO) $(MAKEINFOFLAGS) -I$(srcdir) -o gcc.info $(srcdir)/gcc.texi
|
||
+ $(MAKEINFO) $(MAKEINFOFLAGS) -I$(srcdir) -o $(GCC_INSTALL_NAME).info \
|
||
+ $(srcdir)/gcc.texi && touch $@
|
||
|
||
dvi: gcc.dvi cpp.dvi lang.dvi
|
||
|
||
@@ -2314,6 +2320,7 @@
|
||
-rm -f cexp.c cexp.output TAGS
|
||
-rm -f cpp.info* cpp.??s cpp.*aux
|
||
-rm -f gcc.info* gcc.??s gcc.*aux
|
||
+ -rm -f $(GCC_INSTALL_NAME).info* $(CPP_INFO_NAME).info*
|
||
#
|
||
# Entry points `install' and `uninstall'.
|
||
# Also use `install-collect2' to install collect2 when the config files don't.
|
||
@@ -2452,18 +2459,19 @@
|
||
# $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir
|
||
# to do the install.
|
||
install-info: doc installdirs lang.install-info
|
||
- -rm -f $(infodir)/cpp.info* $(infodir)/gcc.info*
|
||
- for f in cpp.info* gcc.info*; do \
|
||
+ -rm -f $(infodir)/$(CPP_INFO_NAME).info* \
|
||
+ $(infodir)/$(GCC_INSTALL_NAME).info*
|
||
+ for f in $(GCC_INSTALL_NAME).info* $(CPP_INFO_NAME).info*; do \
|
||
$(INSTALL_DATA) $$f $(infodir)/$$f; \
|
||
done
|
||
-if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
|
||
if [ -f $(infodir)/dir ] ; then \
|
||
- for f in cpp.info gcc.info; do \
|
||
+ for f in $(GCC_INSTALL_NAME).info $(CPP_INFO_NAME).info; do \
|
||
install-info --dir-file=$(infodir)/dir $(infodir)/$$f; \
|
||
done; \
|
||
else true; fi; \
|
||
else true; fi;
|
||
- -chmod a-x $(infodir)/cpp.info* $(infodir)/gcc.info*
|
||
+ -chmod a-x $(infodir)/$(CPP_INFO_NAME).info* $(infodir)/$(GCC_INSTALL_NAME).info*
|
||
|
||
# Install the man pages.
|
||
install-man: installdirs $(srcdir)/gcc.1 $(srcdir)/cccp.1 lang.install-man
|
||
@@ -2476,9 +2484,9 @@
|
||
$(INSTALL_DATA) $(srcdir)/gcc.1 $(man1dir)/$(GCC_INSTALL_NAME)$(manext); \
|
||
chmod a-x $(man1dir)/$(GCC_INSTALL_NAME)$(manext); \
|
||
fi
|
||
- -rm -f $(man1dir)/cccp$(manext)
|
||
- -$(INSTALL_DATA) $(srcdir)/cccp.1 $(man1dir)/cccp$(manext)
|
||
- -chmod a-x $(man1dir)/cccp$(manext)
|
||
+ -rm -f $(man1dir)/$(CPP_MAN_NAME)$(manext)
|
||
+ -$(INSTALL_DATA) $(srcdir)/cccp.1 $(man1dir)/$(CPP_MAN_NAME)$(manext)
|
||
+ -chmod a-x $(man1dir)/$(CPP_MAN_NAME)$(manext)
|
||
|
||
# Install the library.
|
||
install-libgcc: libgcc.a installdirs
|