From 6a3bf18655384cbd534308104d82b1ae0f66c228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 2 Jul 2015 18:35:44 +0200 Subject: Reduce dependency on external programs This commit implements a core_find and core_ls function that can be used to list files recursively or not. A few other minute changes are included and a couple hacks removed. --- plugins/protobuffs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/protobuffs.mk') diff --git a/plugins/protobuffs.mk b/plugins/protobuffs.mk index d180b1f..b0400bf 100644 --- a/plugins/protobuffs.mk +++ b/plugins/protobuffs.mk @@ -26,6 +26,6 @@ define compile_proto.erl endef ifneq ($(wildcard src/),) -ebin/$(PROJECT).app:: $(shell find src -type f -name \*.proto 2>/dev/null) +ebin/$(PROJECT).app:: $(sort $(call core_find,src/,*.proto)) $(if $(strip $?),$(call compile_proto,$?)) endif -- cgit v1.2.3