summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f70fb85293..2448105415 100644
--- a/Makefile
+++ b/Makefile
@@ -46,10 +46,8 @@ all install uninstall tools config configure reconfig proto depend lint tags typ
fi
@# When the target is "clean" also clean for the indent and syntax tests.
@if test "$@" = "clean" -o "$@" = "distclean" -o "$@" = "testclean"; then \
- cd runtime/indent && \
- $(MAKE) clean; \
- cd runtime/syntax && \
- $(MAKE) clean; \
+ (cd runtime/indent && $(MAKE) clean); \
+ (cd runtime/syntax && $(MAKE) clean); \
fi
# Executable used for running the indent tests.