diff options
author | K. Richard Pixley <rich@cygnus> | 1991-06-12 21:33:26 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1991-06-12 21:33:26 +0000 |
commit | 7187e60cbe6f87aaf2d0e3b81abd9b23cb14b127 (patch) | |
tree | 454e7006463f03c0090c62597cb0fe9f6ebd2e31 /readline/Makefile.in | |
parent | ac1d3910bf03baeb6fd951f6312df24bb43caf4f (diff) | |
download | gdb-7187e60cbe6f87aaf2d0e3b81abd9b23cb14b127.zip gdb-7187e60cbe6f87aaf2d0e3b81abd9b23cb14b127.tar.gz gdb-7187e60cbe6f87aaf2d0e3b81abd9b23cb14b127.tar.bz2 |
Polishing install.
Diffstat (limited to 'readline/Makefile.in')
-rw-r--r-- | readline/Makefile.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/readline/Makefile.in b/readline/Makefile.in index 5711ea3..8b6ebe5 100644 --- a/readline/Makefile.in +++ b/readline/Makefile.in @@ -7,6 +7,9 @@ srcdir = . destdir = /usr/local +INSTALL_PROG = install -c +INSTALL_FILE = $(INSTALL_PROG) + #### host and target dependent Makefile fragments come in here. ## @@ -102,13 +105,13 @@ includes: mkdir $(INCDIR)/readline;\ chmod a+r $(INCDIR)/readline;\ fi - $(CP) readline.h keymaps.h chardefs.h $(INCDIR)/readline/ + $(INSTALL_FILE) readline.h keymaps.h chardefs.h $(INCDIR)/readline/ clean: rm -f $(STAGESTUFF) *.a *.log *.cp *.tp *.vr *.fn *.aux *.pg *.toc $(DESTDIR)/libreadline.a: libreadline.a -mv $(DESTDIR)/libreadline.a $(DESTDIR)/libreadline.old - cp libreadline.a $(DESTDIR)/libreadline.a + $(INSTALL_PROG) libreadline.a $(DESTDIR)/libreadline.a $(RANLIB) -t $(DESTDIR)/libreadline.a # Copy the object files from a particular stage into a subdirectory. |