diff options
author | K. Richard Pixley <rich@cygnus> | 1991-11-14 00:36:22 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1991-11-14 00:36:22 +0000 |
commit | fff3e61ff2553f56fb1de5c5618d3f3af9cfcbb4 (patch) | |
tree | 06bd67a25c3b4b0360af312eeca382b0d6baf8bf /readline/Makefile.in | |
parent | 14ccee322bf3fbf20bcd3fdacb17bd7faa040fb3 (diff) | |
download | gdb-fff3e61ff2553f56fb1de5c5618d3f3af9cfcbb4.zip gdb-fff3e61ff2553f56fb1de5c5618d3f3af9cfcbb4.tar.gz gdb-fff3e61ff2553f56fb1de5c5618d3f3af9cfcbb4.tar.bz2 |
build and install info
Diffstat (limited to 'readline/Makefile.in')
-rw-r--r-- | readline/Makefile.in | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/readline/Makefile.in b/readline/Makefile.in index eda231a..b42edbaf 100644 --- a/readline/Makefile.in +++ b/readline/Makefile.in @@ -58,8 +58,8 @@ CSOURCES = readline.c history.c funmap.c keymaps.c vi_mode.c \ HSOURCES = readline.h chardefs.h history.h keymaps.h SOURCES = $(CSOURCES) $(HSOURCES) -DOCUMENTATION = readline.texinfo inc-readline.texinfo \ - history.texinfo inc-history.texinfo +DOCUMENTATION = readline.texi inc-read.texi \ + history.texi inc-hist.texi SUPPORT = COPYING Makefile $(DOCUMENTATION) ChangeLog @@ -69,7 +69,13 @@ THINGS_TO_TAR = $(SOURCES) $(SUPPORT) STAGESTUFF = *.o -all: libreadline.a +all: libreadline.a history.info readline.info + +history.info: history.texi + - $(MAKEINFO) -o history.info $(srcdir)/history.texi + +readline.info: readline.texi + - $(MAKEINFO) -o readline.info $(srcdir)/readline.texi libreadline.a: readline.o history.o funmap.o keymaps.o $(RM) -f libreadline.a @@ -95,7 +101,16 @@ readline.tar: $(THINGS_TO_TAR) readline.tar.Z: readline.tar compress -f readline.tar -install: $(DESTDIR)/libreadline.a includes +install: includes + $(INSTALL_PROG) libreadline.a $(DESTDIR)/libreadline.a.new + -mv $(DESTDIR)/libreadline.a.new $(DESTDIR)/libreadline.a + $(RANLIB) $(DESTDIR)/libreadline.a + for i in *.info* ; do \ + echo Installing $$i... ; \ + (cp $$i $(idestdir)/info/$$i.new \ + && mv -f $(idestdir)/info/$$i.new $(idestdir)/info/$$i) \ + || exit 1 ; \ + done includes: if [ ! -r $(INCDIR)/readline ]; then\ @@ -106,12 +121,10 @@ includes: $(INSTALL_FILE) $(srcdir)/keymaps.h $(INCDIR)/readline/ $(INSTALL_FILE) $(srcdir)/chardefs.h $(INCDIR)/readline/ clean: - rm -f $(STAGESTUFF) *.a *.log *.cp *.tp *.vr *.fn *.aux *.pg *.toc + rm -f $(STAGESTUFF) *.a *.log *.cp *.tp *.vr *.fn + rm -f *.aux *.pg *.toc *.info* $(DESTDIR)/libreadline.a: libreadline.a - -mv $(DESTDIR)/libreadline.a $(DESTDIR)/libreadline.old - $(INSTALL_PROG) libreadline.a $(DESTDIR)/libreadline.a - $(RANLIB) $(DESTDIR)/libreadline.a # Copy the object files from a particular stage into a subdirectory. stage1: force |