diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-08-25 16:34:30 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-08-25 16:34:30 +0200 |
commit | a32f1dfa1b6f7fbc63bcbb274cf936ec00e77e25 (patch) | |
tree | 0b836e73931300b0dce2e442b900e0e41972b96a | |
parent | 71878f7a9b6ca4ac9d1b15374d2f0b8247df7ae4 (diff) | |
download | nx-libs-a32f1dfa1b6f7fbc63bcbb274cf936ec00e77e25.tar.gz nx-libs-a32f1dfa1b6f7fbc63bcbb274cf936ec00e77e25.tar.bz2 nx-libs-a32f1dfa1b6f7fbc63bcbb274cf936ec00e77e25.zip |
Makefile: Check for dir existence before attempting to remove it.
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |