mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
Tue Feb 9 12:42:27 1993 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: Various changes to eliminate a level of make recursion and reduce the required command line length. (BASE_FLAGS_TO_PASS): New variable holding flags passed to all sub-makes. (EXTRA_HOST_FLAGS, EXTRA_TARGET_FLAGS, EXTRA_GCC_FLAGS): New variables holding settings for specific sub-makes. (FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS, GCC_FLAGS_TO_PASS): Rewrote in terms of BASE_FLAGS_TO_PASS. (TARGET_LIBS): New variable listing directories which use TARGET_FLAGS_TO_PASS. (subdir_do): Eliminated. (do-*): New set of targets to replace subdir_do. (various): All targets which used subdir_do now depend on do-*. (local-clean): Renamed from do_clean. (local-distclean): New target, dependency of distclean and realclean. (install-info): Don't create directories. Depend on dir.info rather than calling make recursively. (install-dir.info): Eliminated. (install-info-dirs): Create all info directories here. (dir.info): Depend upon do-install-info.
This commit is contained in:
22
ChangeLog
22
ChangeLog
@ -1,5 +1,27 @@
|
|||||||
Tue Feb 9 12:42:27 1993 Ian Lance Taylor (ian@cygnus.com)
|
Tue Feb 9 12:42:27 1993 Ian Lance Taylor (ian@cygnus.com)
|
||||||
|
|
||||||
|
* Makefile.in: Various changes to eliminate a level of make
|
||||||
|
recursion and reduce the required command line length.
|
||||||
|
(BASE_FLAGS_TO_PASS): New variable holding flags passed to all
|
||||||
|
sub-makes.
|
||||||
|
(EXTRA_HOST_FLAGS, EXTRA_TARGET_FLAGS, EXTRA_GCC_FLAGS): New
|
||||||
|
variables holding settings for specific sub-makes.
|
||||||
|
(FLAGS_TO_PASS, TARGET_FLAGS_TO_PASS, GCC_FLAGS_TO_PASS): Rewrote
|
||||||
|
in terms of BASE_FLAGS_TO_PASS.
|
||||||
|
(TARGET_LIBS): New variable listing directories which use
|
||||||
|
TARGET_FLAGS_TO_PASS.
|
||||||
|
(subdir_do): Eliminated.
|
||||||
|
(do-*): New set of targets to replace subdir_do.
|
||||||
|
(various): All targets which used subdir_do now depend on do-*.
|
||||||
|
(local-clean): Renamed from do_clean.
|
||||||
|
(local-distclean): New target, dependency of distclean and
|
||||||
|
realclean.
|
||||||
|
(install-info): Don't create directories. Depend on dir.info
|
||||||
|
rather than calling make recursively.
|
||||||
|
(install-dir.info): Eliminated.
|
||||||
|
(install-info-dirs): Create all info directories here.
|
||||||
|
(dir.info): Depend upon do-install-info.
|
||||||
|
|
||||||
* test-build.mk (HOLES): Added false.
|
* test-build.mk (HOLES): Added false.
|
||||||
|
|
||||||
Sat Feb 6 14:05:09 1993 Per Bothner (bothner@rtl.cygnus.com)
|
Sat Feb 6 14:05:09 1993 Per Bothner (bothner@rtl.cygnus.com)
|
||||||
|
243
Makefile.in
243
Makefile.in
@ -184,6 +184,7 @@ NM_FOR_TARGET = ` \
|
|||||||
fi \
|
fi \
|
||||||
fi`
|
fi`
|
||||||
|
|
||||||
|
# FIXME: This is badly named.
|
||||||
XTRAFLAGS = ` \
|
XTRAFLAGS = ` \
|
||||||
if [ -f $${rootme}/gcc/Makefile ] ; then \
|
if [ -f $${rootme}/gcc/Makefile ] ; then \
|
||||||
if [ -f $${rootme}/newlib/Makefile ] ; then \
|
if [ -f $${rootme}/newlib/Makefile ] ; then \
|
||||||
@ -199,22 +200,24 @@ XTRAFLAGS = ` \
|
|||||||
#### host and target specific makefile fragments come in here.
|
#### host and target specific makefile fragments come in here.
|
||||||
###
|
###
|
||||||
|
|
||||||
# Flags to pass down to sub-makes -- please keep these in alphabetical order
|
# Flags to pass down to all sub-makes.
|
||||||
FLAGS_TO_PASS = \
|
# Please keep these in alphabetical order.
|
||||||
"AR=$(AR)" \
|
BASE_FLAGS_TO_PASS = \
|
||||||
"AR_FLAGS=$(AR_FLAGS)" \
|
"AR_FLAGS=$(AR_FLAGS)" \
|
||||||
"AR_FOR_TARGET=$(AR_FOR_TARGET)" \
|
"AR_FOR_TARGET=$(AR_FOR_TARGET)" \
|
||||||
|
"AS_FOR_TARGET=$(AS_FOR_TARGET)" \
|
||||||
"BISON=$(BISON)" \
|
"BISON=$(BISON)" \
|
||||||
"CXXFLAGS=$(CXXFLAGS)" \
|
|
||||||
"CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
|
|
||||||
"CC=$(CC)" \
|
|
||||||
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
|
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
|
||||||
|
"CC_FOR_TARGET=$(CC_FOR_TARGET)" \
|
||||||
"CFLAGS=$(CFLAGS)" \
|
"CFLAGS=$(CFLAGS)" \
|
||||||
$(start-sanitize-chill)\
|
$(start-sanitize-chill)\
|
||||||
"CHILLFLAGS=$(CHILLFLAGS)" \
|
"CHILLFLAGS=$(CHILLFLAGS)" \
|
||||||
"CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
|
"CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
|
||||||
"CHILL_LIB=$(CHILL_LIB)" \
|
"CHILL_LIB=$(CHILL_LIB)" \
|
||||||
$(end-sanitize-chill)\
|
$(end-sanitize-chill)\
|
||||||
|
"CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
|
||||||
|
"CXXFLAGS=$(CXXFLAGS)" \
|
||||||
|
"CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
|
||||||
"GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
|
"GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
|
||||||
"INSTALL=$(INSTALL)" \
|
"INSTALL=$(INSTALL)" \
|
||||||
"INSTALL_DATA=$(INSTALL_DATA)" \
|
"INSTALL_DATA=$(INSTALL_DATA)" \
|
||||||
@ -223,104 +226,121 @@ $(end-sanitize-chill)\
|
|||||||
"LEX=$(LEX)" \
|
"LEX=$(LEX)" \
|
||||||
"LOADLIBES=$(LOADLIBES)" \
|
"LOADLIBES=$(LOADLIBES)" \
|
||||||
"MAKEINFO=$(MAKEINFO)" \
|
"MAKEINFO=$(MAKEINFO)" \
|
||||||
"RANLIB=$(RANLIB)" \
|
"NM_FOR_TARGET=$(NM_FOR_TARGET)" \
|
||||||
"RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
|
"RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
|
||||||
|
"XTRAFLAGS_FOR_TARGET=$(XTRAFLAGS)" \
|
||||||
"exec_prefix=$(exec_prefix)" \
|
"exec_prefix=$(exec_prefix)" \
|
||||||
"prefix=$(prefix)" \
|
"prefix=$(prefix)" \
|
||||||
"tooldir=$(tooldir)"
|
"tooldir=$(tooldir)"
|
||||||
|
|
||||||
|
# Flags to pass down to most sub-makes, in which we're building with
|
||||||
|
# the host environment.
|
||||||
|
# Because of the way do-info, et. al., use this, this must not contain
|
||||||
|
# any backquotes.
|
||||||
|
EXTRA_HOST_FLAGS = \
|
||||||
|
"AR=$(AR)" \
|
||||||
|
"AS=$(AS)" \
|
||||||
|
"CC=$(CC)" \
|
||||||
|
"CXX=$(CXX)" \
|
||||||
|
"NM=$(NM)" \
|
||||||
|
"RANLIB=$(RANLIB)" \
|
||||||
|
"XTRAFLAGS="
|
||||||
|
|
||||||
|
FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
|
||||||
|
|
||||||
# Flags that are concerned with the location of the X11 include files
|
# Flags that are concerned with the location of the X11 include files
|
||||||
# and library files
|
# and library files
|
||||||
|
|
||||||
X11_FLAGS_TO_PASS = \
|
X11_FLAGS_TO_PASS = \
|
||||||
"X11_INCLUDE_FLAGS=$(X11_INCLUDE_FLAGS)" \
|
"X11_INCLUDE_FLAGS=$(X11_INCLUDE_FLAGS)" \
|
||||||
"X11_LIB_FLAGS=$(X11_LIB_FLAGS)" \
|
"X11_LIB_FLAGS=$(X11_LIB_FLAGS)" \
|
||||||
"X11_LIB=$(X11_LIB)"
|
"X11_LIB=$(X11_LIB)"
|
||||||
|
|
||||||
# Flags to pass down to makes which are built with the target
|
# Shell case of subdirectories which are built with the target environment.
|
||||||
# environment (e.g. libg++, xiberty, newlib). -- keep these in alpha order please
|
TARGET_LIBS=libg++ | xiberty | newlib
|
||||||
TARGET_FLAGS_TO_PASS = \
|
$(start-sanitize-chill)
|
||||||
"AR=$(AR_FOR_TARGET)" \
|
TARGET_LIBS=libg++ | xiberty | newlib | chillrt
|
||||||
"AR_FLAGS=$(AR_FLAGS)" \
|
$(end-sanitize-chill)
|
||||||
"AS=$(AS_FOR_TARGET)" \
|
|
||||||
"BISON=$(BISON)" \
|
# Flags to pass down to makes which are built with the target environment.
|
||||||
"CXX=$(CXX_FOR_TARGET)" \
|
# The double $ decreases the length of the command line; the variables
|
||||||
"CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
|
# are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
|
||||||
"CXXFLAGS=$(CXXFLAGS)" \
|
# Because of the way do-info, et. al., use this, this must not contain
|
||||||
"CC=$(CC_FOR_TARGET)" \
|
# any backquotes.
|
||||||
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
|
EXTRA_TARGET_FLAGS = \
|
||||||
"CFLAGS=$(CFLAGS)" \
|
'AR=$$(AR_FOR_TARGET)' \
|
||||||
"INSTALL=$(INSTALL)" \
|
'AS=$$(AS_FOR_TARGET)' \
|
||||||
"INSTALL_DATA=$(INSTALL_DATA)" \
|
'CC=$$(CC_FOR_TARGET)' \
|
||||||
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
|
'CXX=$$(CXX_FOR_TARGET)' \
|
||||||
"LDFLAGS=$(LDFLAGS)" \
|
'NM=$$(NM_FOR_TARGET)' \
|
||||||
"LEX=$(LEX)" \
|
'RANLIB=$$(RANLIB_FOR_TARGET)' \
|
||||||
"LOADLIBES=$(LOADLIBES)" \
|
'XTRAFLAGS=$$(XTRAFLAGS_FOR_TARGET)'
|
||||||
"MAKEINFO=$(MAKEINFO)" \
|
|
||||||
"NM=$(NM_FOR_TARGET)" \
|
TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
|
||||||
"RANLIB=$(RANLIB_FOR_TARGET)" \
|
|
||||||
"XTRAFLAGS=$(XTRAFLAGS)" \
|
|
||||||
"exec_prefix=$(exec_prefix)" \
|
|
||||||
"prefix=$(prefix)" \
|
|
||||||
"tooldir=$(tooldir)"
|
|
||||||
|
|
||||||
# Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
|
# Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
|
||||||
# unfortunately needs the native compiler and the target ar and
|
# unfortunately needs the native compiler and the target ar and
|
||||||
# ranlib. Keep these in alphabetical order, please.
|
# ranlib.
|
||||||
GCC_FLAGS_TO_PASS = \
|
# Because of the way do-info, et. al., use this, this must not contain
|
||||||
"AR=$(AR_FOR_TARGET)" \
|
# any backquotes.
|
||||||
"AR_FLAGS=$(AR_FLAGS)" \
|
EXTRA_GCC_FLAGS = \
|
||||||
"AR_FOR_TARGET=$(AR_FOR_TARGET)" \
|
'AR=$$(AR_FOR_TARGET)' \
|
||||||
"AS=$(AS)" \
|
"AS=$(AS)" \
|
||||||
"BISON=$(BISON)" \
|
|
||||||
"CXX=$(CXX)" \
|
|
||||||
"CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
|
|
||||||
"CXXFLAGS=$(CXXFLAGS)" \
|
|
||||||
"CC=$(CC)" \
|
"CC=$(CC)" \
|
||||||
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
|
"CXX=$(CXX)" \
|
||||||
"CFLAGS=$(CFLAGS)" \
|
|
||||||
"INSTALL=$(INSTALL)" \
|
|
||||||
"INSTALL_DATA=$(INSTALL_DATA)" \
|
|
||||||
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
|
|
||||||
"LDFLAGS=$(LDFLAGS)" \
|
|
||||||
"LEX=$(LEX)" \
|
|
||||||
"LOADLIBES=$(LOADLIBES)" \
|
|
||||||
"MAKEINFO=$(MAKEINFO)" \
|
|
||||||
"NM=$(NM)" \
|
"NM=$(NM)" \
|
||||||
"RANLIB=$(RANLIB_FOR_TARGET)" \
|
'RANLIB=$$(RANLIB_FOR_TARGET)' \
|
||||||
"RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
|
"XTRAFLAGS="
|
||||||
"XTRAFLAGS=$(XTRAFLAGS)" \
|
|
||||||
"exec_prefix=$(exec_prefix)" \
|
GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
|
||||||
"prefix=$(prefix)" \
|
|
||||||
"tooldir=$(tooldir)"
|
|
||||||
|
|
||||||
# The first rule in the file had better be this one. Don't put any above it.
|
# The first rule in the file had better be this one. Don't put any above it.
|
||||||
all: $(ALL)
|
all: $(ALL)
|
||||||
|
|
||||||
.PHONY: all check dvi info install-info
|
.PHONY: all check dvi info install-info install-info-dirs
|
||||||
|
.PHONY: do-info do-check do-dvi do-install-info
|
||||||
|
.PHONY: do-clean do-mostlyclean do-distclean do-realclean
|
||||||
.NOEXPORT:
|
.NOEXPORT:
|
||||||
|
|
||||||
info: all-texinfo
|
# Do a target for all the subdirectories. A ``make do-X'' will do a
|
||||||
@rootme=`pwd` ; export rootme ; \
|
# ``make X'' in all subdirectories (because, in general, X depends on
|
||||||
$(MAKE) $(FLAGS_TO_PASS) DO=info "DODIRS=$(SUBDIRS)" subdir_do
|
# fdo-X, a ``make X'' will also do this, but it may do additional work
|
||||||
|
# as well).
|
||||||
|
# This target ensures that $(BASE_FLAGS_TO_PASS) appears only once,
|
||||||
|
# because it is so large that it can easily overflow the command line
|
||||||
|
# length limit on some systems.
|
||||||
|
do-info do-check do-dvi do-install-info do-clean do-mostlyclean do-distclean do-realclean:
|
||||||
|
@target=`echo $@ | sed -e 's/^do-//'`; \
|
||||||
|
rootme=`pwd`; export rootme; \
|
||||||
|
srcroot=`cd $(srcdir); pwd`; export srcroot; \
|
||||||
|
for i in $(SUBDIRS); do \
|
||||||
|
if [ -f ./$$i/localenv ] || [ -f ./$$i/Makefile ]; then \
|
||||||
|
case $$i in \
|
||||||
|
$(TARGET_LIBS) ) \
|
||||||
|
extra_flags=`echo $(EXTRA_TARGET_FLAGS)`; \
|
||||||
|
;; \
|
||||||
|
gcc) \
|
||||||
|
extra_flags=`echo $(EXTRA_GCC_FLAGS)`; \
|
||||||
|
;; \
|
||||||
|
*) \
|
||||||
|
extra_flags=`echo $(EXTRA_HOST_FLAGS)`; \
|
||||||
|
;; \
|
||||||
|
esac ; \
|
||||||
|
export extra_flags; \
|
||||||
|
if (cd ./$$i; \
|
||||||
|
$(MAKE) $(BASE_FLAGS_TO_PASS) $${extra_flags} $${target}); \
|
||||||
|
then true; else exit 1; fi; \
|
||||||
|
else true; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
check dvi:
|
info: do-info
|
||||||
@rootme=`pwd` ; export rootme ; \
|
check: do-check
|
||||||
$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
|
dvi: do-dvi
|
||||||
|
|
||||||
install-info: install-info-dirs force
|
install-info: install-info-dirs do-install-info dir.info
|
||||||
-parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \
|
|
||||||
if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
|
|
||||||
-if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi
|
|
||||||
@rootme='pwd' ; export rootme ; $(MAKE) $(FLAGS_TO_PASS) DO=install-info "DODIRS=$(SUBDIRS)" subdir_do
|
|
||||||
@rootme='pwd' ; export rootme ; $(MAKE) $(FLAGS_TO_PASS) dir.info install-dir.info
|
|
||||||
|
|
||||||
install-dir.info:
|
|
||||||
-parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \
|
|
||||||
if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
|
|
||||||
-if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi
|
|
||||||
$(INSTALL_DATA) dir.info $(infodir)/dir.info
|
$(INSTALL_DATA) dir.info $(infodir)/dir.info
|
||||||
|
|
||||||
|
do-install-info: install-info-dirs
|
||||||
|
|
||||||
all.normal: all-m4 all-autoconf all-libiberty all-mmalloc all-texinfo \
|
all.normal: all-m4 all-autoconf all-libiberty all-mmalloc all-texinfo \
|
||||||
all-byacc all-flex all-opcodes all-bfd all-ld all-gas all-tgas \
|
all-byacc all-flex all-opcodes all-bfd all-ld all-gas all-tgas \
|
||||||
all-gcc all-binutils all-libg++ all-readline all-sim all-gdb \
|
all-gcc all-binutils all-libg++ all-readline all-sim all-gdb \
|
||||||
@ -344,20 +364,19 @@ all.cross: all-libiberty all-mmalloc all-gas all-byacc all-flex all-ld \
|
|||||||
$(end-sanitize-chill) \
|
$(end-sanitize-chill) \
|
||||||
all-deja-gnu
|
all-deja-gnu
|
||||||
|
|
||||||
.PHONY: clean distclean mostlyclean realclean do_clean
|
.PHONY: clean distclean mostlyclean realclean local-clean local-distclean
|
||||||
|
|
||||||
do_clean:
|
local-clean:
|
||||||
-rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E
|
-rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E
|
||||||
|
|
||||||
clean mostlyclean: do_clean
|
local-distclean:
|
||||||
@rootme=`pwd` ; export rootme ; \
|
|
||||||
$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
|
|
||||||
|
|
||||||
distclean realclean: do_clean
|
|
||||||
@rootme=`pwd` ; export rootme ; \
|
|
||||||
$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
|
|
||||||
-rm -f Makefile config.status
|
-rm -f Makefile config.status
|
||||||
|
|
||||||
|
clean: do-clean local-clean
|
||||||
|
mostlyclean: do-mostlyclean local-clean
|
||||||
|
distclean: do-distclean local-clean local-distclean
|
||||||
|
realclean: do-realclean local-clean local-distclean
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
@echo "the uninstall target is not supported in this tree"
|
@echo "the uninstall target is not supported in this tree"
|
||||||
|
|
||||||
@ -1329,55 +1348,6 @@ install-textutils: force
|
|||||||
|
|
||||||
### other supporting targets
|
### other supporting targets
|
||||||
|
|
||||||
subdir_do:
|
|
||||||
### start-sanitize-chill
|
|
||||||
###
|
|
||||||
### WARNING: THIS IS VERY UGLY AND I DID NOT DO THIS WILLINGLY
|
|
||||||
###
|
|
||||||
### if you change the code for libg++ et al, also change the
|
|
||||||
### code for chillrt
|
|
||||||
###
|
|
||||||
### end-sanitize-chill
|
|
||||||
@for i in $(DODIRS); do \
|
|
||||||
if [ -f ./$$i/localenv ] || [ -f ./$$i/Makefile ] ; then \
|
|
||||||
case $$i in \
|
|
||||||
libg++ | xiberty | newlib) \
|
|
||||||
if (rootme=`pwd` ; export rootme ; \
|
|
||||||
srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
|
|
||||||
cd ./$$i ; \
|
|
||||||
$(MAKE) $(TARGET_FLAGS_TO_PASS) $(DO)) ; then true ; \
|
|
||||||
else exit 1 ; fi \
|
|
||||||
;; \
|
|
||||||
$(start-sanitize-chill) \
|
|
||||||
chillrt) \
|
|
||||||
if (rootme=`pwd` ; export rootme ; \
|
|
||||||
srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
|
|
||||||
cd ./$$i ; \
|
|
||||||
$(MAKE) $(TARGET_FLAGS_TO_PASS) $(DO)) ; then true ; \
|
|
||||||
else exit 1 ; fi \
|
|
||||||
;; \
|
|
||||||
$(end-sanitize-chill) \
|
|
||||||
gcc) \
|
|
||||||
if (rootme=`pwd` ; export rootme ; \
|
|
||||||
srcroot=`cd $(srcdir); pwd` ; export srcroot ; \
|
|
||||||
cd ./$$i ; \
|
|
||||||
$(MAKE) $(GCC_FLAGS_TO_PASS) $(DO)) ; then true ; \
|
|
||||||
else exit 1 ; fi \
|
|
||||||
;; \
|
|
||||||
*) \
|
|
||||||
if (rootme=`pwd` ; export rootme ; \
|
|
||||||
cd ./$$i ; \
|
|
||||||
$(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
|
|
||||||
else exit 1 ; fi \
|
|
||||||
;; \
|
|
||||||
esac ; \
|
|
||||||
else true ; fi ; \
|
|
||||||
done
|
|
||||||
|
|
||||||
# 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= \
|
MAKEDIRS= \
|
||||||
$(prefix) \
|
$(prefix) \
|
||||||
$(exec_prefix) \
|
$(exec_prefix) \
|
||||||
@ -1417,8 +1387,11 @@ install-dirs:
|
|||||||
|
|
||||||
install-info-dirs:
|
install-info-dirs:
|
||||||
if [ -d $(prefix) ] ; then true ; else mkdir $(prefix) ; fi
|
if [ -d $(prefix) ] ; then true ; else mkdir $(prefix) ; fi
|
||||||
|
-parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \
|
||||||
|
if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
|
||||||
|
-if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi
|
||||||
|
|
||||||
dir.info:
|
dir.info: do-install-info
|
||||||
$(srcdir)/texinfo/gen-info-dir $(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new
|
$(srcdir)/texinfo/gen-info-dir $(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new
|
||||||
mv -f dir.info.new dir.info
|
mv -f dir.info.new dir.info
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user