From: Mathieu Baudier Date: Wed, 19 Oct 2022 06:31:24 +0000 (+0200) Subject: Make working in subdirectories X-Git-Tag: v2.3.2 X-Git-Url: https://git.argeo.org/?a=commitdiff_plain;h=refs%2Ftags%2Fv2.3.2;p=cc0%2Fargeo-build.git Make working in subdirectories --- diff --git a/osgi.mk b/osgi.mk index d759efc..d5b031e 100644 --- a/osgi.mk +++ b/osgi.mk @@ -52,7 +52,7 @@ $(BUILD_BASE)/built : $(TODOS) $(A2_OUTPUT)/%.$(major).$(minor).jar : $(BUILD_BASE)/$$(subst $(A2_CATEGORY)/,,$$*)/to-build $(ARGEO_MAKE) all --a2-bases $(A2_BASE) --dep-categories $(DEP_CATEGORIES) --category $(A2_CATEGORY) --bundles $(subst $(A2_CATEGORY)/,,$*) -$(BUILD_BASE)/%/to-build : $$(shell find $(SDK_SRC_BASE)/% -type f -not -path 'bin/*' -not -path '*/MANIFEST.MF' | sed 's/ /\\ /g') +$(BUILD_BASE)/%/to-build : $$(shell find % -type f -not -path 'bin/*' -not -path '*/MANIFEST.MF' | sed 's/ /\\ /g') @rm -rf $(dir $@) @mkdir -p $(dir $@) @touch $@