Improve how Makefiles are formed, updated related doc

This commit is contained in:
Landon Curt Noll
2021-12-13 16:54:45 -08:00
parent 22e123140c
commit f7dadbf1f8
6 changed files with 20 additions and 38 deletions

View File

@@ -4606,7 +4606,7 @@ Makefile.simple: Makefile custom/Makefile.simple
${Q} ${AWK} '/^#if 0/{skp=1} {if(!skp){print $$0}} /^#endif/{skp=0}' \
Makefile | \
${SED} -e 's/cd custom; $${MAKE} -f Makefile/&.simple/' \
-e 's;^# SRC:.*;# SRC: non-GNU Makefile via;' \
-e 's;^# SRC:.*;# SRC: $@ - non-GNU version;' \
-e '/^ifeq /d' \
-e '/^ifneq /d' \
-e '/^ifdef /d' \