[LyX/master] Fix distcleancheck make target

Jean-Marc Lasgouttes <[email protected]> Mon, 08 Jun 2026 22:43:04 +0000
Newsgroups gmane.editors.lyx.cvs
Message-ID <[email protected]>
commit 08ec8cadd6df17c2d36a1d2ece715468a711442b
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Tue Jun 9 00:39:25 2026 +0200

    Fix distcleancheck make target
    
    List temporary metainfo files as cleanable.
    
    Move targets that involve them in INSTALL_POSIX conditional branch.
    
    Related to ticket #13317.
---
 lib/Makefile.am | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/lib/Makefile.am b/lib/Makefile.am
index 1e94a5b236..6eb5c1955a 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -3695,11 +3695,6 @@ fixedappicons_DATA = lyx@[email protected]
 desktopdir = $(datadir)/applications
 desktop_DATA = @[email protected]
 
-CLEANFILES = @[email protected] lyx.desktop-temp \
-             lyx@[email protected] lyx@[email protected]
-endif
-dist_noinst_DATA += lyx.desktop.in images/lyx.png
-
 # if configure is asked to generate the name with suffix directly, then
 # config.status refuses to rebuild this file (with a variable name), and
 # a build error ensues when org.lyx.LyX.metainfo.xml.in is changed.
@@ -3707,7 +3702,14 @@ org.lyx.@[email protected]: org.lyx.LyX.metainfo.xml-temp
 	$(AM_V_GEN)$(INSTALL_DATA) $< $@
 metainfodir = $(datadir)/metainfo
 dist_metainfo_DATA = org.lyx.@[email protected]
-dist_noinst_DATA += org.lyx.LyX.metainfo.xml.in
+
+CLEANFILES = @[email protected] lyx.desktop-temp \
+             org.lyx.@[email protected] org.lyx.LyX.metainfo.xml-temp \
+             lyx@[email protected] lyx@[email protected]
+endif
+
+dist_noinst_DATA += lyx.desktop.in org.lyx.LyX.metainfo.xml.in images/lyx.png
+
 
 exampleandtemplate_files = \
 			   $(dist_arpresentationexamples_DATA) \
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs