Fix for $(MKDIR) in "make distcheck" without any other target to install

This commit is contained in:
Pierre Pronchery 2014-10-31 18:49:15 +01:00
parent 146855f8d0
commit bdb9f4b4ce

View File

@ -397,11 +397,16 @@ static int _variables_executables(Configure * configure, FILE * fp)
_makefile_output_variable(fp, "LN", configure->programs.ln);
}
if(package != NULL)
_makefile_output_variable(fp, "TAR", configure->programs.tar);
if(targets != NULL || includes != NULL)
{
_makefile_output_variable(fp, "TAR", configure->programs.tar);
_makefile_output_variable(fp, "MKDIR",
configure->programs.mkdir);
}
if(targets != NULL || includes != NULL)
{
if(package == NULL)
_makefile_output_variable(fp, "MKDIR",
configure->programs.mkdir);
_makefile_output_variable(fp, "INSTALL",
configure->programs.install);
}