#49687 Issue 49685 - make clean fails if cargo is not installed
Closed 3 years ago by spichugi. Opened 6 years ago by vashirov.
vashirov/389-ds-base fix-make-clean  into  master

file modified
+2
@@ -288,7 +288,9 @@ 

  	-rm -rf dist

  	-rm -rf $(abs_top_builddir)/html

  	-rm -rf $(abs_top_builddir)/man

+ if RUST_ENABLE

  	CARGO_TARGET_DIR=$(abs_top_builddir)/rs cargo clean --manifest-path=$(srcdir)/src/libsds/Cargo.toml

+ endif

  

  dberrstrs.h: Makefile

  	perl $(srcdir)/ldap/servers/slapd/mkDBErrStrs.pl -i @db_incdir@ -o .

Bug Description:
make clean fails if cargo is not installed.

Fix Description:
Call cargo clean only when we enable Rust.

https://pagure.io/389-ds-base/issue/49685

Reviewed by: ???

rebased onto 3037674

6 years ago

Pull-Request has been merged by vashirov

6 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/2746

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

3 years ago
Metadata