[dm-devel] [PATCH 4/7] libdmmp: allow building without perl

Martin Wilck mwilck at suse.com
Mon May 17 20:04:18 UTC 2021


On Mon, 2021-05-17 at 21:47 +0200, Xose Vazquez Perez wrote:
> On 3/26/21 10:29 PM, mwilck at suse.com wrote:
> 
> > Add the kernel-doc generated manpages of libdmmp to git, and
> > change the libdmmp Makefile to regenerate them (only) when
> > necessary.
> 
> Every month, nice try :-)

Hm, doesn't happen here. What are you doing differently?

$ make -C libdmmp docs/man/dmmp_strerror.3
make: Entering directory '/mnt/git/mpath-tools/libdmmp'
make: 'docs/man/dmmp_strerror.3' is up to date.
make: Leaving directory '/mnt/git/mpath-tools/libdmmp'

Likewise, "make install" won't rebuild any man pages.

Regards,
Martin


> $ git diff
> diff --git a/libdmmp/docs/man/dmmp_context_free.3
> b/libdmmp/docs/man/dmmp_context_free.3
> index 0d26f42c..9a46950e 100644
> --- a/libdmmp/docs/man/dmmp_context_free.3
> +++ b/libdmmp/docs/man/dmmp_context_free.3
> @@ -1,4 +1,4 @@
> -.TH "dmmp_context_free" 3 "dmmp_context_free" "March 2021" "Device
> Mapper Multipath API - libdmmp Manual"
> +.TH "dmmp_context_free" 3 "dmmp_context_free" "May 2021" "Device
> Mapper Multipath API - libdmmp Manual"
>   .SH NAME
>   dmmp_context_free \- Release the memory of struct dmmp_context.
>   .SH SYNOPSIS
> [...]
> 
> 
> $ git status
> On branch queue
> Your branch is up to date with 'origin/queue'.
> 
> Changes not staged for commit:
>    (use "git add <file>..." to update what will be committed)
>    (use "git restore <file>..." to discard changes in working
> directory)
>          modified:   libdmmp/docs/man/dmmp_context_free.3
> [...]
> 






More information about the dm-devel mailing list