Hello,

This small patch avoids installing the misnamed and useless files lyxNONE.desktop, lyxNONE.svg when using windows and macosx packaging with autotools.

I intend to commit it to 2.2-satging. It could maybe go to 2.1.x too.

JMarc

>From 26623fbe65e53c40aea3606bc450818526a6305d Mon Sep 17 00:00:00 2001
From: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date: Thu, 27 Mar 2014 13:51:25 +0100
Subject: [PATCH] Fix oversight in autotools packaging selection

The only consequence of this thinko is that the lyx.desktop and the svg icons 
were installed on Mac OS and Windows platform, whereas they are useless.
---
 config/lyxinclude.m4 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4
index d1b78f9..61ea48d 100644
--- a/config/lyxinclude.m4
+++ b/config/lyxinclude.m4
@@ -463,6 +463,7 @@ AC_ARG_WITH(packaging,
                   *) lyx_use_packaging=posix;;
   esac])
 AC_MSG_RESULT($lyx_use_packaging)
+lyx_install_posix=false
 lyx_install_macosx=false
 lyx_install_cygwin=false
 lyx_install_windows=false
-- 
1.9.1

Reply via email to