Commit a32f1dfa authored by Mike Gabriel's avatar Mike Gabriel

Makefile: Check for dir existence before attempting to remove it.

parent 71878f7a
......@@ -120,8 +120,8 @@ clean-env: version
${RM_FILE} nx-X11/exports/include/nx-X11/Xtrans/$${header}; \
done
-$(RM_DIR) exports/include/nx-X11/Xtrans/
-$(RM_DIR) exports/include/nx-X11/
[ -d exports/include/nx-X11/Xtrans ] && $(RM_DIR) exports/include/nx-X11/Xtrans/ || :
[ -d exports/include/nx-X11/ ] && $(RM_DIR) exports/include/nx-X11/ || :
${MAKE} -C nx-X11 CleanEnv FONT_DEFINES=$(FONT_DEFINES)
......
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