[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH 3/4] build: nur noch übersprungene Makefiles anzeigen



Signed-off-by: Andreas Freimuth <m.nemo@xxxxxxx>
---
 buildmk.sh |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/buildmk.sh b/buildmk.sh
index 7da50d9..2a95f74 100644
--- a/buildmk.sh
+++ b/buildmk.sh
@@ -181,15 +181,12 @@ echo >> Makefile
 echo subdirs: >> Makefile
 for file in lib rtl !(lib|rtl|arch) arch; do
   if [ -d "$file" ]; then
-    if [ "$file" == "include" -o \( -f "$file/.nobuild" -a ! -f "$file/.ignorenobuild" \) ]; then
-      echo Ueberspringe `pwd`/$file/Makefile
+    if [ "$file" == "include" -o \( -f "$file/.nobuild" -a ! -f "$file/.ignorenobuild" \) ] ||
+       [ "`basename \`pwd\``" == "arch" ] && [ "$file" != "$LOST_ARCH" ]; then
+      echo Überspringe `pwd`/$file/
       continue
     fi
-    if [ "`basename \`pwd\``" == "arch" ] && [ "$file" != "$LOST_ARCH" ]; then
-        echo Ueberspringe `pwd`/$file/Makefile
-        continue
-    fi
-    echo Erzeuge `pwd`/$file/Makefile
+#    echo Erzeuge `pwd`/$file/Makefile
     echo -e "\\t\$(MAKE)" --no-print-directory -sC "$file" >> Makefile
 #    echo -e \\tmake -C "$file" '| (grep -vE "^(make|if)" || true)' >> Makefile
 
-- 
1.7.9.3