diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-08-25 19:18:17 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-08-25 19:18:17 +0200 |
commit | 7290aea3b77fe6603a62cc686a23e1dbca21de65 (patch) | |
tree | 8e8361be246909e765fadc5ed0a69eb2ceea34a4 /nx-X11 | |
parent | a32f1dfa1b6f7fbc63bcbb274cf936ec00e77e25 (diff) | |
download | nx-libs-7290aea3b77fe6603a62cc686a23e1dbca21de65.tar.gz nx-libs-7290aea3b77fe6603a62cc686a23e1dbca21de65.tar.bz2 nx-libs-7290aea3b77fe6603a62cc686a23e1dbca21de65.zip |
nx-X11/Makefile: Only run full CleanEnv code, if imake is installed in the build-system.
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nx-X11/Makefile b/nx-X11/Makefile index 5845a4c77..c9f79c611 100644 --- a/nx-X11/Makefile +++ b/nx-X11/Makefile @@ -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 |