diff options
author | Eric Andersen | 2001-04-26 23:29:10 +0000 |
---|---|---|
committer | Eric Andersen | 2001-04-26 23:29:10 +0000 |
commit | 0081466925ec6224eae13f0702f2df719237de6e (patch) | |
tree | 22fb71bfc7d68da3de6e91dba942bc9b5458885a /Makefile | |
parent | 0f9426edb0e5d3bde75e4c64d587c55d3e9ddd48 (diff) | |
download | busybox-0081466925ec6224eae13f0702f2df719237de6e.zip busybox-0081466925ec6224eae13f0702f2df719237de6e.tar.gz |
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
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -268,10 +268,12 @@ CFLAGS += $(CFLAGS_EXTRA) .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 - if [ ! -L sh.c ] ; then ln -s lash.c sh.c ; fi (echo -n "APPLET_SOURCES := "; $(SHELL) $^ $(BB_SRC_DIR)) > $@ doc: olddoc |