aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-04-26 23:29:10 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-04-26 23:29:10 +0000
commit1ba4e0a860a18d7324c005e351e9effa4e81af79 (patch)
tree22fb71bfc7d68da3de6e91dba942bc9b5458885a
parent8a9d1b1696c6144e5efc067e4efcafadfae00b6d (diff)
downloadbusybox-w32-1ba4e0a860a18d7324c005e351e9effa4e81af79.tar.gz
busybox-w32-1ba4e0a860a18d7324c005e351e9effa4e81af79.tar.bz2
busybox-w32-1ba4e0a860a18d7324c005e351e9effa4e81af79.zip
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 git-svn-id: svn://busybox.net/trunk/busybox@2468 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5a62cb0ef..3408770ed 100644
--- a/Makefile
+++ b/Makefile
@@ -268,10 +268,12 @@ CFLAGS += $(CFLAGS_EXTRA)
268 268
269.EXPORT_ALL_VARIABLES: 269.EXPORT_ALL_VARIABLES:
270 270
271all: applet_source_list busybox busybox.links doc 271all: sh_link applet_source_list busybox busybox.links doc
272
273sh_link:
274 @if [ ! -L sh.c ] ; then ln -s lash.c sh.c ; fi
272 275
273applet_source_list: busybox.sh Config.h 276applet_source_list: busybox.sh Config.h
274 if [ ! -L sh.c ] ; then ln -s lash.c sh.c ; fi
275 (echo -n "APPLET_SOURCES := "; $(SHELL) $^ $(BB_SRC_DIR)) > $@ 277 (echo -n "APPLET_SOURCES := "; $(SHELL) $^ $(BB_SRC_DIR)) > $@
276 278
277doc: olddoc 279doc: olddoc