egor duda writes:
authorEric Andersen <andersen@codepoet.org>
Wed, 13 Oct 2004 17:45:57 +0000 (17:45 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 13 Oct 2004 17:45:57 +0000 (17:45 -0000)
egor duda wrote:
>Ok, here's an updated patch.
>'make check' should work now, and one make creates Makefile in build
>directory, so one can run 'make' in build directory after that.

ahem. It looks like i'm slightly late with it but... Here's a little
addition to make 'make O=/some/where PREFIX=/some/where/else install'
work. Sorry for delay :(

egor

Makefile

index 3e2b3ef185f71c96eb4bfd7591599be2741a0f8b..4dbd9aa8ceff1c51301766daebfcf5aafbd2b6d3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -130,7 +130,7 @@ busybox: $(ALL_MAKEFILES) .depend include/config.h $(libraries-y)
 busybox.links: $(top_srcdir)/applets/busybox.mkll include/config.h $(top_srcdir)/include/applets.h
        - $(SHELL) $^ >$@
 
-install: applets/install.sh busybox busybox.links
+install: $(top_srcdir)/applets/install.sh busybox busybox.links
        $(SHELL) $< $(PREFIX)
 ifeq ($(strip $(CONFIG_FEATURE_SUID)),y)
        @echo