No, you should not need to make clean between re-builds.

Seems like a fine idea to add the force option.

--Steve

> -----Original Message-----
> From: Zhu, Wen-Jun <wenjun....@esgyn.cn>
> Sent: Monday, November 5, 2018 2:55 AM
> To: dev@trafodion.apache.org
> Subject: make the symbolic link again when creating the installation package
> 
> Hi,
> 
> When I make installation package, I issue `make package` to generate the tar
> files,
> 
> Then for next release, after some code modifications, I issue `make package`
> again, and it stops
> In file core/sql/Makefile
> 337 rest-${TRAFODION_VER}:
> 338     ln -s ../rest/target/$@/$@ $@
> 339
> 340 dcs-${TRAFODION_VER}:
> 341     ln -s ../../dcs/target/$@/$@ $@
> 
> As the symbolic links already exist before, so the `ln` command failed, is 
> this
> intended?
> i.e. do I have to run `make clean` or something alike to clean the links?
> 
> If this is not intended, and the links have be to be removed manually,
> Can I add a `-f` option to the `ln` command, i.e. replace the -s option with 
> -sf
> option?
> 
> Regards,
> Wenjun Zhu

Reply via email to