aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-12-12 06:25:48 +0000
committerK. Richard Pixley <rich@cygnus>1991-12-12 06:25:48 +0000
commit9a9e8e7f4b4a84bac766fca0ebdb62b14d33e851 (patch)
treeb2199c78b6d6bac439c07937ecf8fa04d9b8e100 /Makefile.in
parent71fc99e9e6241af77dad72e87b4afd9d7ffe395a (diff)
downloadgdb-9a9e8e7f4b4a84bac766fca0ebdb62b14d33e851.zip
gdb-9a9e8e7f4b4a84bac766fca0ebdb62b14d33e851.tar.gz
gdb-9a9e8e7f4b4a84bac766fca0ebdb62b14d33e851.tar.bz2
revised install for dir.info
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in19
1 files changed, 12 insertions, 7 deletions
diff --git a/Makefile.in b/Makefile.in
index 66183c7..56765d2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -75,12 +75,18 @@ INSTALL_TARGET = install.all
all: $(ALL)
-info: force
+info: doc.info
$(MAKE) subdir_do DO=info "DODIRS=$(SUBDIRS)"
-install-info: dir.info install-info-dirs force
+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)"
-# $(MAKE) install-dir.info
+ $(MAKE) dir.info install-dir.info
+
+install-dir.info:
+ $(INSTALL_DATA) dir.info $(infodir)/dir.info
# clib prms
all.normal: all-texinfo all-bison all-byacc all-ld all-gnulib all-gdb all-make \
@@ -1425,10 +1431,9 @@ MAKEINFODIRS= \
$(infodir)
install-info-dirs: force
- for i in $(MAKEINFODIRS) ; do \
- echo Making $$i... ; \
- if [ -d $$i ] ; then true ; else mkdir $$i ; fi ; \
- done
+ if [ -d $(prefix) ] ; then true ; else mkdir $(prefix) ; fi
+ if [ -d $(datadir) ] ; then true ; else mkdir $(datadir) ; fi
+ if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi
dir.info: force
$(srcdir)/texinfo/gen-info-dir $(infodir) > dir.info.new