aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2018-07-05 17:57:56 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2018-07-05 17:57:56 +0200
commit3ded029b42c7acf0b1b575cf4f0bb395a1d0d823 (patch)
treef185b2de3a1e95feaa560d9be18c7670e4e7d8e1
parentd19605b7bfb8425b53be4cab30bef462c4fa4d14 (diff)
parentcd45eda96c0026fc8962ba51b3e3750be946b96f (diff)
Merge PR #7994: Make bin/ in makefile, not configure.
-rw-r--r--Makefile5
-rw-r--r--configure.ml6
2 files changed, 4 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 26d582c72..ec2ef02d8 100644
--- a/Makefile
+++ b/Makefile
@@ -156,7 +156,10 @@ endif
MAKE_OPTS := --warn-undefined-variable --no-builtin-rules
-submake: alienclean
+bin:
+ mkdir bin
+
+submake: alienclean | bin
$(MAKE) $(MAKE_OPTS) -f Makefile.build $(MAKECMDGOALS)
noconfig:
diff --git a/configure.ml b/configure.ml
index c13c5e107..b264a2652 100644
--- a/configure.ml
+++ b/configure.ml
@@ -235,12 +235,6 @@ let get_date () =
let short_date, full_date = get_date ()
-
-(** Create the bin/ directory if non-existent *)
-
-let _ = if not (dir_exists "bin") then Unix.mkdir "bin" 0o755
-
-
(** * Command-line parsing *)
type ide = Opt | Byte | No