aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-11-08 00:08:14 +0000
committerK. Richard Pixley <rich@cygnus>1991-11-08 00:08:14 +0000
commit4c27527f1c2807ebd231289cbe82e3b5453bb96f (patch)
tree29428d1b9cea3aef76c3444319a11915ed2b66b1 /Makefile.in
parent9c5a678a420944551f8067bf500b7235aade60f5 (diff)
downloadgdb-4c27527f1c2807ebd231289cbe82e3b5453bb96f.zip
gdb-4c27527f1c2807ebd231289cbe82e3b5453bb96f.tar.gz
gdb-4c27527f1c2807ebd231289cbe82e3b5453bb96f.tar.bz2
rework install-dirs, add install-no-fixinclude
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in51
1 files changed, 30 insertions, 21 deletions
diff --git a/Makefile.in b/Makefile.in
index b7defb71..34f1518 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -16,7 +16,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#
-# Last Mod Wed Nov 6 20:56:58 PST 1991, by rich@rtl.cygnus.com
+# Last Mod Thu Nov 7 03:37:41 PST 1991, by rich@sendai
#
# $Id$
@@ -141,32 +141,41 @@ clean:
rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.E
$(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS) $(OTHERS)"
-install: install-dirs $(INSTALL_FIXED_INCLUDES) $(INSTALL_HEADERS)
+install: install-no-fixincludes $(INSTALL_FIXED_INCLUDES)
+
+install-no-fixincludes: install-dirs $(INSTALL_HEADERS)
$(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS) $(OTHERS)"
# The "else true" stuff is for Ultrix; the shell returns the exit code
# of the "if" command, if no commands are run in the "then" or "else" part,
# causing Make to quit.
+
+MAKEDIRS= \
+ $(ddestdir) \
+ $(ddestdir)/bin \
+ $(ddestdir)/include \
+ $(ddestdir)/lib \
+ $(ddestdir)/lib/emacs \
+ $(idestdir) \
+ $(idestdir)/bin \
+ $(idestdir)/lib \
+ $(idestdir)/include \
+ $(idestdir)/doc \
+ $(idestdir)/man \
+ $(idestdir)/man/man1 \
+ $(idestdir)/man/man2 \
+ $(idestdir)/man/man3 \
+ $(idestdir)/man/man4 \
+ $(idestdir)/man/man5 \
+ $(idestdir)/man/man6 \
+ $(idestdir)/man/man7 \
+ $(idestdir)/man/man8
+
+
install-dirs: force
- - mkdir $(ddestdir)
- - mkdir $(ddestdir)/bin
- - mkdir $(ddestdir)/include
- - mkdir $(ddestdir)/lib
- - mkdir $(ddestdir)/lib/emacs
- - mkdir $(idestdir)
- - mkdir $(idestdir)/bin
- - mkdir $(idestdir)/lib
- - mkdir $(idestdir)/include
- - mkdir $(idestdir)/doc
- - mkdir $(idestdir)/man
- - mkdir $(idestdir)/man/man1
- - mkdir $(idestdir)/man/man2
- - mkdir $(idestdir)/man/man3
- - mkdir $(idestdir)/man/man4
- - mkdir $(idestdir)/man/man5
- - mkdir $(idestdir)/man/man6
- - mkdir $(idestdir)/man/man7
- - mkdir $(idestdir)/man/man8
+ for i in $(MAKEDIRS) ; do \
+ if [ -d $$i ] ; then true ; else mkdir $$i ; fi ; \
+ done
install-headers:
if [ -d $(unsubdir)/gcc$(subdir) ] ; then \