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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22822 in the body.
You can then email your comments to 22822 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#22822; Package emacs. (Fri, 26 Feb 2016 16:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Aaron S. Hawley" <aaron.s.hawley <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 26 Feb 2016 16:57:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 1 (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)]

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sun, 28 Feb 2016 03:03:02 GMT) Full text and rfc822 format available.

Notification sent to "Aaron S. Hawley" <aaron.s.hawley <at> gmail.com>:
bug acknowledged by developer. (Sun, 28 Feb 2016 03:03:02 GMT) Full text and rfc822 format available.

Message #10 received at 22822-done <at> debbugs.gnu.org (full text, mbox):

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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 27 Mar 2016 11:24:03 GMT) Full text and rfc822 format available.

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.