[PATCH v2 3/4] config: remove unused paths from config/Paths.mk.in

Juergen Gross posted 4 patches 4 days, 14 hours ago
[PATCH v2 3/4] config: remove unused paths from config/Paths.mk.in
Posted by Juergen Gross 4 days, 14 hours ago
Some paths in config/Paths.mk.in are used nowhere, so remove them.

Signed-off-by: Juergen Gross <jgross@suse.com>
---
 config/Paths.mk.in | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/config/Paths.mk.in b/config/Paths.mk.in
index bc42748b7a..668545be2f 100644
--- a/config/Paths.mk.in
+++ b/config/Paths.mk.in
@@ -20,10 +20,7 @@ libexecdir               := @libexecdir@
 datarootdir              := @datarootdir@
 mandir                   := @mandir@
 docdir                   := @docdir@
-dvidir                   := @dvidir@
 htmldir                  := @htmldir@
-pdfdir                   := @pdfdir@
-psdir                    := @psdir@
 includedir               := @includedir@
 localstatedir            := @localstatedir@
 sysconfdir               := @sysconfdir@
@@ -34,8 +31,6 @@ LIBEXEC_LIB              := @LIBEXEC_LIB@
 LIBEXEC_INC              := @LIBEXEC_INC@
 
 SHAREDIR                 := @SHAREDIR@
-MAN1DIR                  := $(mandir)/man1
-MAN8DIR                  := $(mandir)/man8
 
 XEN_RUN_DIR              := @XEN_RUN_DIR@
 XEN_LOG_DIR              := @XEN_LOG_DIR@
-- 
2.51.0
Re: [PATCH v2 3/4] config: remove unused paths from config/Paths.mk.in
Posted by Andrew Cooper 4 days, 14 hours ago
On 14/11/2025 11:32 am, Juergen Gross wrote:
> Some paths in config/Paths.mk.in are used nowhere, so remove them.
>
> Signed-off-by: Juergen Gross <jgross@suse.com>
> ---
>  config/Paths.mk.in | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/config/Paths.mk.in b/config/Paths.mk.in
> index bc42748b7a..668545be2f 100644
> --- a/config/Paths.mk.in
> +++ b/config/Paths.mk.in
> @@ -20,10 +20,7 @@ libexecdir               := @libexecdir@
>  datarootdir              := @datarootdir@
>  mandir                   := @mandir@
>  docdir                   := @docdir@
> -dvidir                   := @dvidir@
>  htmldir                  := @htmldir@
> -pdfdir                   := @pdfdir@
> -psdir                    := @psdir@

The point I apparently didn't make very well was this:

We generate both HTML and PDFs, yet use neither of htmldir nor pdfdir. 
Whatever is done to one should be done to the other.

Leave just docdir, and let whomever tidies up the mess in docs/ adjust
the paths as necessary.

~Andrew

Re: [PATCH v2 3/4] config: remove unused paths from config/Paths.mk.in
Posted by Jürgen Groß 4 days, 12 hours ago
On 14.11.25 12:47, Andrew Cooper wrote:
> On 14/11/2025 11:32 am, Juergen Gross wrote:
>> Some paths in config/Paths.mk.in are used nowhere, so remove them.
>>
>> Signed-off-by: Juergen Gross <jgross@suse.com>
>> ---
>>   config/Paths.mk.in | 5 -----
>>   1 file changed, 5 deletions(-)
>>
>> diff --git a/config/Paths.mk.in b/config/Paths.mk.in
>> index bc42748b7a..668545be2f 100644
>> --- a/config/Paths.mk.in
>> +++ b/config/Paths.mk.in
>> @@ -20,10 +20,7 @@ libexecdir               := @libexecdir@
>>   datarootdir              := @datarootdir@
>>   mandir                   := @mandir@
>>   docdir                   := @docdir@
>> -dvidir                   := @dvidir@
>>   htmldir                  := @htmldir@
>> -pdfdir                   := @pdfdir@
>> -psdir                    := @psdir@
> 
> The point I apparently didn't make very well was this:
> 
> We generate both HTML and PDFs, yet use neither of htmldir nor pdfdir.
> Whatever is done to one should be done to the other.
> 
> Leave just docdir, and let whomever tidies up the mess in docs/ adjust
> the paths as necessary.

Ah, okay.

No problem.


Juergen