mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-18 03:51:48 -07:00
Let configure test for a suitable mkdir -p
* configure.in (AC_PROG_MKDIR_P): Call it, to set MKDIR_P.
(MKDEPDIR): Use $MKDIR_P.
* Makefile.in (MKDIR_P): New, set by configure.
(mkdir): Use $MKDIR_P.
* doc/emacs/Makefile.in (MKDIR_P): New, set by configure.
(mkinfodir): Use $MKDIR_P.
* doc/lispintro/Makefile.in (MKDIR_P): New, set by configure.
(mkinfodir): Use $MKDIR_P.
* doc/lispref/Makefile.in (MKDIR_P): New, set by configure.
(mkinfodir): Use $MKDIR_P.
* doc/misc/Makefile.in (MKDIR_P): New, set by configure.
(mkinfodir): Use $MKDIR_P.
* src/Makefile.in (MKDIR_P): New, set by configure.
* src/ns.mk (${ns_appdir}, ${ns_appbindir}Emacs): Use $MKDIR_P.
This commit is contained in:
parent
2171cea5fc
commit
3fe7cdc86d
14 changed files with 58 additions and 22 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2012-05-12 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* Makefile.in (MKDIR_P): New, set by configure.
|
||||
* ns.mk (${ns_appdir}, ${ns_appbindir}Emacs): Use $MKDIR_P.
|
||||
|
||||
2012-05-11 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Remove unused function hourglass_started.
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ version = @version@
|
|||
# Substitute an assignment for the MAKE variable, because
|
||||
# BSD doesn't have it as a default.
|
||||
@SET_MAKE@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
# Don't use LIBS. configure puts stuff in it that either shouldn't be
|
||||
# linked with Emacs or is duplicated by the other stuff below.
|
||||
# LIBS = @LIBS@
|
||||
|
|
@ -284,7 +285,7 @@ CANNOT_DUMP=@CANNOT_DUMP@
|
|||
DEPDIR=deps
|
||||
## -MMD -MF $(DEPDIR)/$*.d if AUTO_DEPEND; else empty.
|
||||
DEPFLAGS=@DEPFLAGS@
|
||||
## test -d $(DEPDIR) || mkdir $(DEPDIR) (if AUTO_DEPEND); else ':'.
|
||||
## ${MKDIR_P} ${DEPDIR} (if AUTO_DEPEND); else ':'.
|
||||
MKDEPDIR=@MKDEPDIR@
|
||||
|
||||
## DO NOT use -R. There is a special hack described in lastfile.c
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
### autodeps.mk --- src/Makefile fragment for GNU Emacs
|
||||
|
||||
## Copyright (C) 2008-2012 Free Software Foundation, Inc.
|
||||
## Copyright (C) 2008-2012 Free Software Foundation, Inc.
|
||||
|
||||
## This file is part of GNU Emacs.
|
||||
|
||||
|
|
@ -27,11 +27,11 @@
|
|||
|
||||
${ns_appdir}: ${ns_appsrc}
|
||||
rm -fr ${ns_appdir}
|
||||
mkdir -p ${ns_appdir}
|
||||
${MKDIR_P} ${ns_appdir}
|
||||
( cd ${ns_appsrc} ; tar cfh - . ) | ( cd ${ns_appdir} ; umask 022; tar xf - )
|
||||
|
||||
${ns_appbindir}Emacs: emacs${EXEEXT}
|
||||
mkdir -p ${ns_appbindir}
|
||||
${MKDIR_P} ${ns_appbindir}
|
||||
cp -f emacs${EXEEXT} ${ns_appbindir}Emacs
|
||||
|
||||
ns-app: ${ns_appdir} ${ns_appbindir}Emacs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue