From bf49ea32c2005a381dd1a336e1a011880a51156f Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Thu, 16 Jun 2016 21:34:38 +0200 Subject: [PATCH] Do not distribute built sources Implementation stolen from ff17b366a05ff2 --- src/Makefile.am | 9 ++++++--- src/client/Makefile.am | 3 ++- src/frontends/qt4/Makefile.am | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 36a9b0787f..02f0781e32 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -328,7 +328,8 @@ if MONOLITHIC_CORE BUILT_SOURCES += lyxcore.cpp $(STANDALONEFILES) CLEANFILES += lyxcore.cpp -liblyxcore_a_SOURCES = lyxcore.cpp $(STANDALONEFILES) $(HEADERFILESCORE) +nodist_liblyxcore_a_SOURCES = lyxcore.cpp +liblyxcore_a_SOURCES = $(STANDALONEFILES) $(HEADERFILESCORE) else @@ -540,7 +541,8 @@ if MONOLITHIC_MATHED BUILT_SOURCES += lyxmathed.cpp CLEANFILES += lyxmathed.cpp -liblyxmathed_a_SOURCES = lyxmathed.cpp $(HEADERFILESMATHED) +nodist_liblyxmathed_a_SOURCES = lyxmathed.cpp +liblyxmathed_a_SOURCES = $(HEADERFILESMATHED) else @@ -678,7 +680,8 @@ if MONOLITHIC_INSETS BUILT_SOURCES += lyxinsets.cpp CLEANFILES += lyxinsets.cpp -liblyxinsets_a_SOURCES = lyxinsets.cpp $(HEADERFILESINSETS) +nodist_liblyxinsets_a_SOURCES = lyxinsets.cpp +liblyxinsets_a_SOURCES = $(HEADERFILESINSETS) else diff --git a/src/client/Makefile.am b/src/client/Makefile.am index 0a88c978b2..f1d766bd26 100644 --- a/src/client/Makefile.am +++ b/src/client/Makefile.am @@ -36,7 +36,8 @@ AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES) $(ZLIB_INCLUDES) BUILT_SOURCES = lyxclient.cpp CLEANFILES += lyxclient.cpp -lyxclient_SOURCES = lyxclient.cpp $(HEADERFILES) +nodist_lyxclient_SOURCES = lyxclient.cpp +lyxclient_SOURCES = $(HEADERFILES) else diff --git a/src/frontends/qt4/Makefile.am b/src/frontends/qt4/Makefile.am index fb21eb692e..103105e95c 100644 --- a/src/frontends/qt4/Makefile.am +++ b/src/frontends/qt4/Makefile.am @@ -362,8 +362,8 @@ liblyxqt4.cpp: if MONOLITHIC_FRONTEND_QT +nodist_liblyxqt4_a_SOURCES += liblyxqt4.cpp liblyxqt4_a_SOURCES = \ - liblyxqt4.cpp \ $(MOCHEADER) \ $(NOMOCHEADER)