From: Eric Andersen Date: Fri, 27 Apr 2001 18:36:43 +0000 (-0000) Subject: Matt was complaining. Hopefully this helps the sh.c link situation X-Git-Tag: 0_52~275 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=07e462fd6de233fffd02501f0b97ef5046d88eb6;p=oweals%2Fbusybox.git Matt was complaining. Hopefully this helps the sh.c link situation --- diff --git a/Makefile b/Makefile index 3408770ed..66a951fe4 100644 --- a/Makefile +++ b/Makefile @@ -268,13 +268,13 @@ CFLAGS += $(CFLAGS_EXTRA) .EXPORT_ALL_VARIABLES: -all: sh_link applet_source_list busybox busybox.links doc +all: 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 - (echo -n "APPLET_SOURCES := "; $(SHELL) $^ $(BB_SRC_DIR)) > $@ +applet_source_list: sh_link busybox.sh Config.h + @(echo -n "APPLET_SOURCES := "; $(SHELL) busybox.sh Config.h $(BB_SRC_DIR)) > $@ doc: olddoc @@ -430,6 +430,6 @@ dist release: distclean doc \ tar -cvzf busybox-$(VERSION).tar.gz busybox-$(VERSION)/; -.PHONY: tags +.PHONY: tags sh_link tags: ctags -R .