updated for version 7.0181
diff --git a/src/Makefile b/src/Makefile
index 5236e9d..da6137c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1602,7 +1602,6 @@
# Generate the converted .mo files separately, it's no problem if this fails.
languages:
@if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
- $(MAKE) language-check; \
cd $(PODIR); \
CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix); \
fi
@@ -1610,11 +1609,6 @@
cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) converted; \
fi
-# Separate target to check the po files for valitidy, because it depends on
-# ./vim.
-language-check: $(VIMTARGET)
- cd $(PODIR); $(MAKE) check VIM=../$(VIMTARGET)
-
# Update the *.po files for changes in the sources. Only run manually.
update-po:
cd $(PODIR); CC="$(CC)" $(MAKE) prefix=$(DESTDIR)$(prefix) update-po
@@ -1706,9 +1700,15 @@
test check:
$(MAKE) -f Makefile $(VIMTARGET)
cd testdir; $(MAKE) -f Makefile $(GUI_TESTTARGET) VIMPROG=../$(VIMTARGET) $(GUI_TESTARG)
+ @if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
+ cd $(PODIR); $(MAKE) -f Makefile check VIM=../$(VIMTARGET); \
+ fi
testclean:
cd testdir; $(MAKE) -f Makefile clean
+ if test -d $(PODIR); then \
+ cd $(PODIR); $(MAKE) checkclean; \
+ fi
#
# Avoid overwriting an existing executable, somebody might be running it and