mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
maint/build ~ normalize makefile recipe format
This commit is contained in:
parent
423f4f9bf1
commit
5b697aace8
1 changed files with 7 additions and 7 deletions
14
GNUmakefile
14
GNUmakefile
|
@ -268,11 +268,11 @@ test:
|
||||||
${CARGO} test ${CARGOFLAGS} --features "$(TESTS) $(TEST_SPEC_FEATURE)" --no-default-features $(TEST_NO_FAIL_FAST)
|
${CARGO} test ${CARGOFLAGS} --features "$(TESTS) $(TEST_SPEC_FEATURE)" --no-default-features $(TEST_NO_FAIL_FAST)
|
||||||
|
|
||||||
busybox-src:
|
busybox-src:
|
||||||
if [ ! -e $(BUSYBOX_SRC) ]; then \
|
if [ ! -e "$(BUSYBOX_SRC)" ] ; then \
|
||||||
mkdir -p $(BUSYBOX_ROOT); \
|
mkdir -p "$(BUSYBOX_ROOT)" ; \
|
||||||
wget https://busybox.net/downloads/busybox-$(BUSYBOX_VER).tar.bz2 -P $(BUSYBOX_ROOT); \
|
wget "https://busybox.net/downloads/busybox-$(BUSYBOX_VER).tar.bz2" -P "$(BUSYBOX_ROOT)" ; \
|
||||||
tar -C $(BUSYBOX_ROOT) -xf $(BUSYBOX_ROOT)/busybox-$(BUSYBOX_VER).tar.bz2; \
|
tar -C "$(BUSYBOX_ROOT)" -xf "$(BUSYBOX_ROOT)/busybox-$(BUSYBOX_VER).tar.bz2" ; \
|
||||||
fi; \
|
fi ;
|
||||||
|
|
||||||
# This is a busybox-specific config file their test suite wants to parse.
|
# This is a busybox-specific config file their test suite wants to parse.
|
||||||
$(BUILDDIR)/.config: $(BASEDIR)/.busybox-config
|
$(BUILDDIR)/.config: $(BASEDIR)/.busybox-config
|
||||||
|
@ -280,8 +280,8 @@ $(BUILDDIR)/.config: $(BASEDIR)/.busybox-config
|
||||||
|
|
||||||
# Test under the busybox test suite
|
# Test under the busybox test suite
|
||||||
$(BUILDDIR)/busybox: busybox-src build-coreutils $(BUILDDIR)/.config
|
$(BUILDDIR)/busybox: busybox-src build-coreutils $(BUILDDIR)/.config
|
||||||
cp $(BUILDDIR)/coreutils $(BUILDDIR)/busybox; \
|
cp "$(BUILDDIR)/coreutils" "$(BUILDDIR)/busybox"
|
||||||
chmod +x $@;
|
chmod +x $@
|
||||||
|
|
||||||
prepare-busytest: $(BUILDDIR)/busybox
|
prepare-busytest: $(BUILDDIR)/busybox
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue