From cd45eda96c0026fc8962ba51b3e3750be946b96f Mon Sep 17 00:00:00 2001 From: Gaƫtan Gilbert Date: Wed, 4 Jul 2018 01:01:15 +0200 Subject: Make bin/ in makefile, not configure. --- Makefile | 5 ++++- configure.ml | 6 ------ 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 -- cgit v1.2.3