summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/utils/xindy/rte/Makefile.am2
-rw-r--r--Build/source/utils/xindy/rte/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/xindy/rte/Makefile.am b/Build/source/utils/xindy/rte/Makefile.am
index 24dbfee680f..68d540cfa25 100644
--- a/Build/source/utils/xindy/rte/Makefile.am
+++ b/Build/source/utils/xindy/rte/Makefile.am
@@ -82,7 +82,7 @@ xindy-build-dir: $(CLISP_PREREQ)
clean-local:
rm -rf xindy-build-dir
- test "$(builddir)" != "$(srcdir)" && for i in $(ORDRULES_FILES); do rm -f ordrules/$$i; done
+ test "$(builddir)" = "$(srcdir)" || for i in $(ORDRULES_FILES); do rm -f ordrules/$$i; done
if !EXT_CLISP
if [ -e $(clisp_builddir) ]; then $(MAKE) -C $(clisp_builddir) clean; fi
endif
diff --git a/Build/source/utils/xindy/rte/Makefile.in b/Build/source/utils/xindy/rte/Makefile.in
index 44ead47e965..5e99aec5ec3 100644
--- a/Build/source/utils/xindy/rte/Makefile.in
+++ b/Build/source/utils/xindy/rte/Makefile.in
@@ -516,7 +516,7 @@ xindy-build-dir: $(CLISP_PREREQ)
clean-local:
rm -rf xindy-build-dir
- test "$(builddir)" != "$(srcdir)" && for i in $(ORDRULES_FILES); do rm -f ordrules/$$i; done
+ test "$(builddir)" = "$(srcdir)" || for i in $(ORDRULES_FILES); do rm -f ordrules/$$i; done
@EXT_CLISP_FALSE@ if [ -e $(clisp_builddir) ]; then $(MAKE) -C $(clisp_builddir) clean; fi
# remove some extra files to match pristine clisp source