fix to applet_source_list rule so Debian package continues to build
authorDavid Kimdon <dwhedon@debian.org>
Sat, 28 Apr 2001 16:37:23 +0000 (16:37 -0000)
committerDavid Kimdon <dwhedon@debian.org>
Sat, 28 Apr 2001 16:37:23 +0000 (16:37 -0000)
Makefile

index 66a951fe4055d2b3ae3d90d3987811bf6c73d030..76e50227e2af7602714969090f23e2a7408559fc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -274,7 +274,7 @@ sh_link:
        @if [ ! -L sh.c ] ; then ln -s lash.c sh.c ; fi
 
 applet_source_list: sh_link busybox.sh Config.h
-       @(echo -n "APPLET_SOURCES := "; $(SHELL) busybox.sh Config.h $(BB_SRC_DIR)) > $@
+       (echo -n "APPLET_SOURCES := "; $(SHELL) $(filter-out sh_link, $^) $(BB_SRC_DIR)) > $@
 
 doc: olddoc