Skip to content

do not rerun configure if Makefile exists #2

@Dushistov

Description

@Dushistov

I use simple build.rs:

extern crate autotools;

fn main() {
    let dst = autotools::build("3rdparty/rsync-3.1.3");
    println!(
        "rustc-env=RSYNC_BIN={}",
        dst.join("bin").join("rsync").display()
    );
}

and after adding such build.rs build becomes really slow,
because of it runs configure every build.
It would be nice check if Makefile exists and if so just run make.
As I know make automatically runs configure if something changed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions