aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8f1da954d..27a6f966c 100644
--- a/Makefile
+++ b/Makefile
@@ -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)