Make the dependancies on the docs work properly

-Erik
This commit is contained in:
Erik Andersen 2000-05-02 05:31:00 +00:00
parent 5afc864422
commit 03ccce6e30

View File

@ -68,7 +68,8 @@ ifndef $(STRIPTOOL)
STRIPTOOL = strip STRIPTOOL = strip
endif 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 # also try --prefix=/usr/my-libc-stuff
# -D_GNU_SOURCE is needed because environ is used in init.c # -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)"' CFLAGS += -DINIT_SCRIPT='"$(BB_INIT_SCRIPT)"'
endif endif
all: busybox busybox.links docs all: busybox busybox.links
busybox: $(OBJECTS) busybox: $(OBJECTS)
$(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES) $(CC) $(LDFLAGS) -o $@ $^ $(LIBRARIES)
$(STRIP) $(STRIP)
( cd docs ; $(MAKE) )
docs:
$(MAKE) -C docs
busybox.links: busybox.def.h busybox.links: busybox.def.h
- ./busybox.mkll | sort >$@ - ./busybox.mkll | sort >$@
@ -129,7 +128,7 @@ install: busybox busybox.links
./install.sh $(PREFIX) ./install.sh $(PREFIX)
dist release: distclean dist release: distclean
$(MAKE) -C docs ( cd docs ; $(MAKE) )
cd ..; \ cd ..; \
rm -rf busybox-$(VERSION); \ rm -rf busybox-$(VERSION); \
cp -a busybox busybox-$(VERSION); \ cp -a busybox busybox-$(VERSION); \