From 570e17331e8223647c2767ad45b60bf089080896 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Sat, 7 Dec 1991 07:58:50 +0000 Subject: [PATCH] Fri Dec 6 23:57:34 1991 K. Richard Pixley (rich at rtl.cygnus.com) * Makefile.in: remove spaces following hyphens, bsd make can't cope. install using INSTALL_DATA. added clean-info. added standards.text support. Thu Dec 5 22:46:12 1991 K. Richard Pixley (rich at rtl.cygnus.com) * Makefile.in: idestdir and ddestdir go away. Added copyrights and shift gpl to v2. Added ChangeLog if it didn't exist. docdir and mandir now keyed off datadir by default. --- gdb/doc/ChangeLog | 12 ++++++++++ gdb/doc/Makefile.in | 54 +++++++++++++++++++++++++++++++++------------ 2 files changed, 52 insertions(+), 14 deletions(-) create mode 100644 gdb/doc/ChangeLog diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog new file mode 100644 index 00000000000..6c07eaefbfa --- /dev/null +++ b/gdb/doc/ChangeLog @@ -0,0 +1,12 @@ +Fri Dec 6 23:57:34 1991 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: remove spaces following hyphens, bsd make can't + cope. install using INSTALL_DATA. added clean-info. added + standards.text support. + +Thu Dec 5 22:46:12 1991 K. Richard Pixley (rich at rtl.cygnus.com) + + * Makefile.in: idestdir and ddestdir go away. Added copyrights + and shift gpl to v2. Added ChangeLog if it didn't exist. docdir + and mandir now keyed off datadir by default. + diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in index 0dea8961743..c2cf8afe645 100644 --- a/gdb/doc/Makefile.in +++ b/gdb/doc/Makefile.in @@ -19,11 +19,38 @@ srcdir = . -ddestdir = /usr/local -idestdir = $(ddestdir) +prefix = /usr/local + +bindir = $(prefix)/bin +datadir = $(prefix)/lib +libdir = $(prefix)/lib +mandir = $(datadir)/man +man1dir = $(mandir)/man1 +man2dir = $(mandir)/man2 +man3dir = $(mandir)/man3 +man4dir = $(mandir)/man4 +man5dir = $(mandir)/man5 +man6dir = $(mandir)/man6 +man7dir = $(mandir)/man7 +man8dir = $(mandir)/man8 +man9dir = $(mandir)/man9 +infodir = $(prefix)/info +includedir = $(prefix)/include +docdir = $(datadir)/doc SHELL = /bin/sh +INSTALL = install -c +INSTALL_PROGRAM = $(INSTALL) +INSTALL_DATA = $(INSTALL) + +AR = ar +AR_FLAGS = qv +BISON = bison +RANLIB = ranlib + +#### Host, target, and site specific Makefile fragments come in here. +### # main GDB source directory gdbdir = .. @@ -55,15 +82,14 @@ CONFIG=all all install: -all-info: gdb.info gdbint.info +info: gdb.info gdbint.info #all: gdb.info gdb.dvi refcard.dvi gdb-internals gdbint.dvi +clean-info: + -rm -f *.info* -install-info: all-info +install-info: info for i in *.info* ; do \ - echo Installing $$i... ; \ - (cp $$i $(idestdir)/info/$$i.n \ - && mv -f $(idestdir)/info/$$i.n $(idestdir)/info/$$i) \ - || exit 1 ; \ + $(INSTALL_DATA) $$i $(infodir)/$$i ; \ done STAGESTUFF = *.info* gdb-all.texi gdbVN.m4 @@ -87,16 +113,16 @@ comparison: force for i in $(STAGESTUFF) ; do cmp $$i $(against)/$$i ; done de-stage1: force - - (cd stage1 ; mv -f * ..) - - rmdir stage1 + -(cd stage1 ; mv -f * ..) + -rmdir stage1 de-stage2: force - - (cd stage2 ; mv -f * ..) - - rmdir stage2 + -(cd stage2 ; mv -f * ..) + -rmdir stage2 de-stage3: force - - (cd stage3 ; mv -f * ..) - - rmdir stage3 + -(cd stage3 ; mv -f * ..) + -rmdir stage3 clean: rm -f gdb.dvi rdl-apps.texi gdb-all* gdb.info* gdbVN.m4 -- 2.30.2