Fix cleaning of Python runme.py scripts for in-source-tree builds

This commit is contained in:
Karl Wette 2014-05-29 14:35:23 +02:00
commit b8026cc02f
2 changed files with 2 additions and 2 deletions

View file

@ -161,7 +161,7 @@ endif
%.clean:
@rm -f $*.py
@if test -f $(srcdir)/$(py2_runme); then rm -f $(SCRIPTDIR)/$(py3_runme) $(SCRIPTDIR)/$(py3_runme).bak; fi
@if test "x$(SRCDIR)" != x; then rm -f $(SCRIPTDIR)/$(py2_runme); fi
@if test "x$(SCRIPTDIR)" != "x$(srcdir)"; then rm -f $(SCRIPTDIR)/$(py2_runme); fi
clean:
$(MAKE) -f $(top_builddir)/$(EXAMPLES)/Makefile SRCDIR="$(SRCDIR)" python_clean