From: K. Richard Pixley Date: Thu, 19 Dec 1991 00:22:09 +0000 (+0000) Subject: add menu item and Makefile.in hook X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=126825483cc9f2009c731eef1e01fe0d5a20c763;p=binutils-gdb.git add menu item and Makefile.in hook --- diff --git a/Makefile.in b/Makefile.in index 0da2cf14fd6..3bc4e34897d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -75,17 +75,18 @@ INSTALL_TARGET = install.all all: $(ALL) -info: configure.info doc.info +info: cfg-paper.info $(MAKE) subdir_do DO=info "DODIRS=$(SUBDIRS)" +cfg-paper.info: cfg-paper.texi + $(MAKEINFO) -o cfg-paper.info $(srcdir)/cfg-paper.texi + configure.info: configure.texi $(MAKEINFO) -o configure.info $(srcdir)/configure.texi -doc.info: doc.texi - $(MAKEINFO) -o doc.info $(srcdir)/doc.texi - install-info: install-info-dirs force $(MAKE) subdir_do DO=install-info "DODIRS=$(SUBDIRS)" + $(INSTALL_DATA) cfg-paper.info $(infodir)/cfg-paper.info $(MAKE) dir.info install-dir.info install-dir.info: @@ -459,7 +460,7 @@ install-bison: force ### gcc .PHONY: all-gcc just-gcc all-gcc: just-gcc -just-gcc: just-libiberty just-bison force +just-gcc: just-libiberty just-bison just-gnulib1 force if [ -d $(unsubdir)/gcc ] ; then \ (cd $(unsubdir)/gcc$(subdir); \ $(MAKE) \ @@ -741,8 +742,47 @@ install-ld: force true ; \ fi -### gnulib -.PHONY: all-gnulib just-gnulib +### gnulib (and gnulib1) +.PHONY: all-gnulib just-gnulib1 just-gnulib +just-gnulib1: all-gas all-binutils force + if [ -d $(unsubdir)/gnulib ] ; then \ + (cd $(unsubdir)/gnulib$(subdir); \ + $(MAKE) \ + "against=$(against)" \ + "AR=$(AR)" \ + "AR_FLAGS=$(AR_FLAGS)" \ + "CC=$(CC)" \ + "RANLIB=$(RANLIB)" \ + "LOADLIBES=$(LOADLIBES)" \ + "LDFLAGS=$(LDFLAGS)" \ + "BISON=$(BISON)" \ + "MAKEINFO=$(MAKEINFO)" \ + gnulib1.a) ; \ + else \ + true ; \ + fi + +clean-gnulib1: force + if [ -d $(unsubdir)/gnulib ] ; then \ + (cd $(unsubdir)/gnulib$(subdir); \ + $(MAKE) \ + "against=$(against)" \ + "AR=$(AR)" \ + "AR_FLAGS=$(AR_FLAGS)" \ + "CC=$(CC)" \ + "RANLIB=$(RANLIB)" \ + "LOADLIBES=$(LOADLIBES)" \ + "LDFLAGS=$(LDFLAGS)" \ + "BISON=$(BISON)" \ + "MAKEINFO=$(MAKEINFO)" \ + clean-gnulib1) ; \ + else \ + true ; \ + fi + +install-gnulib1: force + echo gnulib1 is a component, not an installable target + all-gnulib: just-gnulib just-gnulib: all-gcc all-gas all-binutils force if [ -d $(unsubdir)/gnulib ] ; then \ diff --git a/cfg-paper.texi b/cfg-paper.texi index a57d36dcf37..7a5bf6b24ed 100644 --- a/cfg-paper.texi +++ b/cfg-paper.texi @@ -22,6 +22,14 @@ Tools. It also discusses common usage.. Copyright @copyright{} 1991 Cygnus Support @end ifinfo +@ifinfo +@format +START-INFO-DIR-ENTRY +* configuration: (cfg-paper.info). Some theory on configuring source. +END-INFO-DIR-ENTRY +@end format +@end ifinfo + @node top, Some Basic Terms, (dir), (dir) @ifinfo