diff --git a/profiles/Makefile b/profiles/Makefile index 202dd1d26..39ecbe567 100644 --- a/profiles/Makefile +++ b/profiles/Makefile @@ -42,7 +42,7 @@ local: for profile in ${TOPLEVEL_PROFILES}; do \ fn=$$(basename $$profile); \ echo "# Site-specific additions and overrides for '$$fn'" > ${PROFILES_SOURCE}/local/$$fn; \ - grep "include[[:space:]]\\+" "$$profile" >/dev/null || { echo "$$profile doesn't contain #include " ; exit 1; } ; \ + grep "include[[:space:]]\\+if[[:space:]]\\+exists[[:space:]]\\+" "$$profile" >/dev/null || { echo "$$profile doesn't contain include if exists " ; exit 1; } ; \ done; \ .PHONY: install