Mandatory . after find under MacOS

This commit is contained in:
Pierre Boutillier 2018-05-27 17:19:53 +02:00 committed by Grégoire Henry
parent d9c5549ae2
commit 7359b7e9ff

View File

@ -1,6 +1,6 @@
DEV ?= --dev DEV ?= --dev
PACKAGES:=$(patsubst %.opam,%,$(notdir $(shell find -name *.opam))) PACKAGES:=$(patsubst %.opam,%,$(notdir $(shell find . -name *.opam -print)))
current_ocaml_version := $(shell ocamlc -version) current_ocaml_version := $(shell ocamlc -version)
include scripts/version.sh include scripts/version.sh
@ -26,11 +26,11 @@ all:
all.pkg: all.pkg:
@jbuilder build ${DEV} \ @jbuilder build ${DEV} \
$(patsubst %.opam,%.install, $(shell find -name \*.opam)) $(patsubst %.opam,%.install, $(shell find . -name \*.opam -print))
$(addsuffix .pkg,${PACKAGES}): %.pkg: $(addsuffix .pkg,${PACKAGES}): %.pkg:
@jbuilder build ${DEV} \ @jbuilder build ${DEV} \
$(patsubst %.opam,%.install, $(shell find -name $*.opam)) $(patsubst %.opam,%.install, $(shell find . -name $*.opam -print))
$(addsuffix .test,${PACKAGES}): %.test: $(addsuffix .test,${PACKAGES}): %.test:
@jbuilder build ${DEV} \ @jbuilder build ${DEV} \