[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Broken 'make clean' if 'make swig-py' isn't run first

From: Yasuhito FUTATSUKI <futatuki_at_yf.bsdclub.org>
Date: Mon, 30 Nov 2020 05:31:36 +0900

On 2020/11/30 4:29, Branko Čibej wrote:
> $ .../configure ...
> $ nice make -s clean
> /bin/sh: line 0: cd: .../subversion/bindings/swig/python: No such file or directory
> /bin/sh: line 0: cd: .../subversion/bindings/swig/python/libsvn_swig_py: No such file or directory
> make: *** [clean-swig-py] Error 1
>
>
> This happens if I run 'make clean' before running 'make swig-py' (or anything else). The patch below seems to fix it the Python-related part, although I still get this afterwards, but these at least don't cause make to return an error:
 Though it is already resolved and I have no objection to the solution....

It seems that it happens only when run configure out of source tree and
do 'make clean' before mkdir-init target has done. In this case,
$(SWIG_PY_DIR) does not exists.

Cheers,

-- 
Yasuhito FUTATSUKI <futatuki_at_yf.bsclub.org>
Received on 2020-11-29 21:32:08 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.