mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Makefile: Copy locales _after_ build
When creating the `target` directory, `cargo` also creates `target/CACHEDIR.TAG` which is important for backup tools to know to ignore the directory. This doesn't happen if something else creates the `target` directory (e.g. `locales` Makefile target). Swap the execution order to fix this.
This commit is contained in:
+2
-2
@@ -320,10 +320,10 @@ else
|
||||
endif
|
||||
endif
|
||||
|
||||
build-coreutils: locales
|
||||
build-coreutils:
|
||||
${CARGO} build ${CARGOFLAGS} --features "${EXES} $(BUILD_SPEC_FEATURE)" ${PROFILE_CMD} --no-default-features
|
||||
|
||||
build: build-coreutils build-pkgs
|
||||
build: build-coreutils build-pkgs locales
|
||||
|
||||
$(foreach test,$(filter-out $(SKIP_UTILS),$(PROGS)),$(eval $(call TEST_BUSYBOX,$(test))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user