[LyX/master] Fix distcleancheck make target
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Mon Jun 8 22:43:04 UTC 2026
commit 08ec8cadd6df17c2d36a1d2ece715468a711442b
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
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 at program_suffix@.png
desktopdir = $(datadir)/applications
desktop_DATA = @PACKAGE_ID at .desktop
-CLEANFILES = @PACKAGE_ID at .desktop lyx.desktop-temp \
- lyx at program_suffix@.svg lyx at program_suffix@.png
-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. at PACKAGE_ID@.metainfo.xml: org.lyx.LyX.metainfo.xml-temp
$(AM_V_GEN)$(INSTALL_DATA) $< $@
metainfodir = $(datadir)/metainfo
dist_metainfo_DATA = org.lyx. at PACKAGE_ID@.metainfo.xml
-dist_noinst_DATA += org.lyx.LyX.metainfo.xml.in
+
+CLEANFILES = @PACKAGE_ID at .desktop lyx.desktop-temp \
+ org.lyx. at PACKAGE_ID@.metainfo.xml org.lyx.LyX.metainfo.xml-temp \
+ lyx at program_suffix@.svg lyx at program_suffix@.png
+endif
+
+dist_noinst_DATA += lyx.desktop.in org.lyx.LyX.metainfo.xml.in images/lyx.png
+
exampleandtemplate_files = \
$(dist_arpresentationexamples_DATA) \
More information about the lyx-cvs
mailing list