aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/Makefile.in
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-12-07 07:58:50 +0000
committerK. Richard Pixley <rich@cygnus>1991-12-07 07:58:50 +0000
commit570e17331e8223647c2767ad45b60bf089080896 (patch)
treeb9a022ef5bfdccddebb9f8b871b65ef36738e92a /gdb/doc/Makefile.in
parent818a192aae196dd06f3f103d97541ca815c38be9 (diff)
downloadgdb-570e17331e8223647c2767ad45b60bf089080896.zip
gdb-570e17331e8223647c2767ad45b60bf089080896.tar.gz
gdb-570e17331e8223647c2767ad45b60bf089080896.tar.bz2
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.
Diffstat (limited to 'gdb/doc/Makefile.in')
-rw-r--r--gdb/doc/Makefile.in54
1 files changed, 40 insertions, 14 deletions
diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in
index 0dea896..c2cf8af 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