Makefile in "git status -s"

Michael Stahl mst at libreoffice.org
Mon Jul 29 11:45:40 UTC 2019


On 28.07.19 17:39, Regina Henschel wrote:
> Hi all,
> 
> With
>      git status -s
> I get a lot of "Makefile" items. A diff for such item gives e.g
> 
> $ git diff svl/Makefile
> diff --git a/svl/Makefile b/svl/Makefile
> index ccb1c85a04da..ab354ea6760e 100644
> --- a/svl/Makefile
> +++ b/svl/Makefile
> @@ -1,7 +1,2 @@
> -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
> -
> -module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
> -
> +module_directory:=D:/Build_diverses/core/svl/
>   include $(module_directory)/../solenv/gbuild/partial_build.mk
> -
> -# vim: set noet sw=4 ts=4:
> 
> How get I rid of these items? They are very annoying.

this is not supposed to happen...

the Makefile are created in autogen.sh, in the branch "if ($src_path ne 
$build_path)"

but that branch shouldn't be taken in your case because you're building 
inside the source directory.

i'd try adding something like  "print "$src_path $build_path "" to find 
out what the difference is.


More information about the LibreOffice mailing list