Commit 7290aea3 authored by Mike Gabriel's avatar Mike Gabriel

nx-X11/Makefile: Only run full CleanEnv code, if imake is installed in the build-system.

parent a32f1dfa
......@@ -54,10 +54,12 @@ CleanEnv:
$(RM) xmakefile; \
fi
@rm -f $(IRULESRC)/date.def; echo "" > $(IRULESRC)/date.def;
${MAKE} $(MFLAGS) xmakefile
${MAKE_CMD} $(MFLAGS) VerifyOS
${MAKE_CMD} $(MFLAGS) Makefiles
${MAKE_CMD} $(MFLAGS) BOOTSTRAPSUBDIRS= clean
which $(IMAKE) 1>/dev/null && ${MAKE} $(MFLAGS) xmakefile || :
@if [ -f xmakefile ]; then \
${MAKE_CMD} $(MFLAGS) VerifyOS; \
${MAKE_CMD} $(MFLAGS) Makefiles; \
${MAKE_CMD} $(MFLAGS) BOOTSTRAPSUBDIRS= clean; \
fi
BuildEnv: CleanEnv BuildIncludes BuildDependsOnly
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment