projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f9426e
)
Be a bit more sneaky about the sh.c symlink so you don't need to
author
Eric Andersen
<andersen@codepoet.org>
Thu, 26 Apr 2001 23:29:10 +0000
(23:29 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Thu, 26 Apr 2001 23:29:10 +0000
(23:29 -0000)
do a mke clean for it to happen.
-Erik
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 5a62cb0efd52f60c9623b595b43a26bdfb903f73..3408770edb1ff1b8881202ccf16e8aa78475187b 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-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