GNU bug report logs - #22822
Use MKDIR_P instead of mkdir --parents in test/Makefile.in

Previous Next

Package: emacs;

Reported by: "Aaron S. Hawley" <aaron.s.hawley <at> gmail.com>

Date: Fri, 26 Feb 2016 16:57:02 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "Aaron S. Hawley" <aaron.s.hawley <at> gmail.com>
Subject: bug#22822: closed (Re: bug#22822: Use MKDIR_P instead of mkdir
 --parents in test/Makefile.in)
Date: Sun, 28 Feb 2016 03:03:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#22822: Use MKDIR_P instead of mkdir --parents in test/Makefile.in

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 22822 <at> debbugs.gnu.org.

-- 
22822: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22822
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 22822-done <at> debbugs.gnu.org
Subject: Re: bug#22822: Use MKDIR_P instead of mkdir --parents in
 test/Makefile.in
Date: Sat, 27 Feb 2016 22:02:24 -0500
Thanks.

[Message part 3 (message/rfc822, inline)]
From: "Aaron S. Hawley" <aaron.s.hawley <at> gmail.com>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: Use MKDIR_P instead of mkdir --parents in test/Makefile.in
Date: Fri, 26 Feb 2016 11:55:54 -0500
[Message part 4 (text/plain, inline)]
Some platforms don't support the long options for mkdir.  Seems there
is a variable, MKDIR_P, set by Autoconf that is used elsewhere in the
Emacs build system that could be used instead.  Patch is attached and
quoted below.

Thanks,
Aaron

---
 test/Makefile.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/Makefile.in b/test/Makefile.in
index b5954df..beb3ff9 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -29,6 +29,7 @@
 ### Code:

 SHELL = @SHELL@
+MKDIR_P = @MKDIR_P@

 srcdir = @srcdir@
 VPATH = $(srcdir)
@@ -110,7 +111,7 @@ endif
  fi; \
  echo Testing $$loadfile; \
  stat=OK ; \
- mkdir --parents $(dir $@) ; \
+ ${MKDIR_P} $(dir $@) ; \
  $(emacs) -l ert -l $$loadfile \
   --eval "(ert-run-tests-batch-and-exit ${SELECTOR_ACTUAL})" ${WRITE_LOG}

--
[0001-Use-MKDIR_P-instead-of-mkdir-parents.patch (application/octet-stream, attachment)]

This bug report was last modified 9 years and 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.