summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErik Andersen2000-05-02 05:31:00 +0000
committerErik Andersen2000-05-02 05:31:00 +0000
commit03ccce6e30abda4acb78af6bd89393e8104bf367 (patch)
tree47620a32116ea3c8b2426496201a472141608bfd /Makefile
parent5afc864422e8c572a13b3e48df47fd0e56cfbb74 (diff)
downloadbusybox-03ccce6e30abda4acb78af6bd89393e8104bf367.zip
busybox-03ccce6e30abda4acb78af6bd89393e8104bf367.tar.gz
Make the dependancies on the docs work properly
-Erik
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index bf42e58..fc0396e 100644
--- a/Makefile
+++ b/Makefile
@@ -68,7 +68,8 @@ ifndef $(STRIPTOOL)
STRIPTOOL = strip
endif
-# TODO: Try compiling vs other libcs. See what -nostdinc and -nostdlib do for that.
+# TODO: Try compiling vs other libcs.
+# See what -nostdinc and -nostdlib do for them.
# also try --prefix=/usr/my-libc-stuff
# -D_GNU_SOURCE is needed because environ is used in init.c
@@ -98,14 +99,12 @@ ifdef BB_INIT_SCRIPT
CFLAGS += -DINIT_SCRIPT='"$(BB_INIT_SCRIPT)"'
endif
-all: busybox busybox.links docs
+all: busybox busybox.links
busybox: $(OBJECTS)
$(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES)
$(STRIP)
-
-docs:
- $(MAKE) -C docs
+ ( cd docs ; $(MAKE) )
busybox.links: busybox.def.h
- ./busybox.mkll | sort >$@
@@ -129,7 +128,7 @@ install: busybox busybox.links
./install.sh $(PREFIX)
dist release: distclean
- $(MAKE) -C docs
+ ( cd docs ; $(MAKE) )
cd ..; \
rm -rf busybox-$(VERSION); \
cp -a busybox busybox-$(VERSION); \