diff options
author | Ian Lance Taylor <ian@airs.com> | 1992-08-18 21:25:33 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1992-08-18 21:25:33 +0000 |
commit | 03261889a6a6cf56e929e3a2e102edd908835773 (patch) | |
tree | c43e597e93542adcb7cfba454b027a6a1b0b0507 /gas/doc | |
parent | 4b857710641cfe0572abf21a7a3345e0975a716d (diff) | |
download | gdb-03261889a6a6cf56e929e3a2e102edd908835773.zip gdb-03261889a6a6cf56e929e3a2e102edd908835773.tar.gz gdb-03261889a6a6cf56e929e3a2e102edd908835773.tar.bz2 |
Moved in from p3:
Tue Aug 18 14:19:01 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: always create installation directories.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gas/doc/Makefile.in | 25 |
2 files changed, 21 insertions, 8 deletions
diff --git a/gas/doc/ChangeLog b/gas/doc/ChangeLog index 5fa1479..5096fc3 100644 --- a/gas/doc/ChangeLog +++ b/gas/doc/ChangeLog @@ -1,3 +1,7 @@ +Tue Aug 18 14:19:01 1992 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in: always create installation directories. + Thu May 14 17:22:48 1992 K. Richard Pixley (rich@rtl.cygnus.com) * Makefile.in: use m4 rather than gm4. diff --git a/gas/doc/Makefile.in b/gas/doc/Makefile.in index 17be946..0b4faa5 100644 --- a/gas/doc/Makefile.in +++ b/gas/doc/Makefile.in @@ -29,10 +29,12 @@ srcdir = . prefix = /usr/local -bindir = $(prefix)/bin +exec_prefix = $(prefix) +bindir = $(exec_prefix)/bin +libdir = $(exec_prefix)/lib + datadir = $(prefix)/lib -libdir = $(prefix)/lib -mandir = $(datadir)/man +mandir = $(prefix)/man man1dir = $(mandir)/man1 man2dir = $(mandir)/man2 man3dir = $(mandir)/man3 @@ -42,7 +44,7 @@ man6dir = $(mandir)/man6 man7dir = $(mandir)/man7 man8dir = $(mandir)/man8 man9dir = $(mandir)/man9 -infodir = $(datadir)/info +infodir = $(prefix)/info includedir = $(prefix)/include docdir = $(datadir)/doc @@ -57,19 +59,20 @@ AR_FLAGS = qv BISON = bison MAKEINFO = makeinfo RANLIB = ranlib +MAKEINFO = makeinfo # What version of the manual you want (see *.m4); "all" includes everything CONFIG=all # Sun/Berkeley m4 doesn't have all the things we need; use GNU or sV -M4=gm4 +M4=m4 #M4=/usr/5bin/m4 # Directory for gas source srcdir=.. # Where to find texinfo.tex to format docn with TeX -TEXIDIR = $(srcdir)/../texinfo/fsf +TEXIDIR = $(srcdir)/../../texinfo/fsf #### host, target, and site specific Makefile frags come in here. ## @@ -77,14 +80,20 @@ TEXIDIR = $(srcdir)/../texinfo/fsf all: clean: install: + -parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \ + if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi + -if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi + $(INSTALL_DATA) $(srcdir)/as.1 $(man1dir)/as.1 info: as.info as.info: as-${CONFIG}.texinfo - makeinfo -o as.info as-${CONFIG}.texinfo + $(MAKEINFO) -o as.info $(srcdir)/as-${CONFIG}.texinfo install-info: as.info - [ -d $(infodir) ] || mkdir $(infodir) + -parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \ + if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi + -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi for i in as.info* ; do \ $(INSTALL_DATA) $$i $(infodir)/$$i ; \ done |