Be a bit more sneaky about the sh.c symlink so you don't need to

do a mke clean for it to happen.
 -Erik
This commit is contained in:
Eric Andersen 2001-04-26 23:29:10 +00:00
parent 0f9426edb0
commit 0081466925

View File

@ -268,10 +268,12 @@ CFLAGS += $(CFLAGS_EXTRA)
.EXPORT_ALL_VARIABLES: .EXPORT_ALL_VARIABLES:
all: applet_source_list busybox busybox.links doc all: sh_link applet_source_list busybox busybox.links doc
sh_link:
@if [ ! -L sh.c ] ; then ln -s lash.c sh.c ; fi
applet_source_list: busybox.sh Config.h applet_source_list: busybox.sh Config.h
if [ ! -L sh.c ] ; then ln -s lash.c sh.c ; fi
(echo -n "APPLET_SOURCES := "; $(SHELL) $^ $(BB_SRC_DIR)) > $@ (echo -n "APPLET_SOURCES := "; $(SHELL) $^ $(BB_SRC_DIR)) > $@
doc: olddoc doc: olddoc