Do not distribute built sources

Implementation stolen from ff17b366a0
This commit is contained in:
Georg Baum 2016-06-16 21:34:38 +02:00
parent 1a79538725
commit bf49ea32c2
3 changed files with 9 additions and 5 deletions

View File

@ -328,7 +328,8 @@ if MONOLITHIC_CORE
BUILT_SOURCES += lyxcore.cpp $(STANDALONEFILES) BUILT_SOURCES += lyxcore.cpp $(STANDALONEFILES)
CLEANFILES += lyxcore.cpp CLEANFILES += lyxcore.cpp
liblyxcore_a_SOURCES = lyxcore.cpp $(STANDALONEFILES) $(HEADERFILESCORE) nodist_liblyxcore_a_SOURCES = lyxcore.cpp
liblyxcore_a_SOURCES = $(STANDALONEFILES) $(HEADERFILESCORE)
else else
@ -540,7 +541,8 @@ if MONOLITHIC_MATHED
BUILT_SOURCES += lyxmathed.cpp BUILT_SOURCES += lyxmathed.cpp
CLEANFILES += lyxmathed.cpp CLEANFILES += lyxmathed.cpp
liblyxmathed_a_SOURCES = lyxmathed.cpp $(HEADERFILESMATHED) nodist_liblyxmathed_a_SOURCES = lyxmathed.cpp
liblyxmathed_a_SOURCES = $(HEADERFILESMATHED)
else else
@ -678,7 +680,8 @@ if MONOLITHIC_INSETS
BUILT_SOURCES += lyxinsets.cpp BUILT_SOURCES += lyxinsets.cpp
CLEANFILES += lyxinsets.cpp CLEANFILES += lyxinsets.cpp
liblyxinsets_a_SOURCES = lyxinsets.cpp $(HEADERFILESINSETS) nodist_liblyxinsets_a_SOURCES = lyxinsets.cpp
liblyxinsets_a_SOURCES = $(HEADERFILESINSETS)
else else

View File

@ -36,7 +36,8 @@ AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES) $(ZLIB_INCLUDES)
BUILT_SOURCES = lyxclient.cpp BUILT_SOURCES = lyxclient.cpp
CLEANFILES += lyxclient.cpp CLEANFILES += lyxclient.cpp
lyxclient_SOURCES = lyxclient.cpp $(HEADERFILES) nodist_lyxclient_SOURCES = lyxclient.cpp
lyxclient_SOURCES = $(HEADERFILES)
else else

View File

@ -362,8 +362,8 @@ liblyxqt4.cpp:
if MONOLITHIC_FRONTEND_QT if MONOLITHIC_FRONTEND_QT
nodist_liblyxqt4_a_SOURCES += liblyxqt4.cpp
liblyxqt4_a_SOURCES = \ liblyxqt4_a_SOURCES = \
liblyxqt4.cpp \
$(MOCHEADER) \ $(MOCHEADER) \
$(NOMOCHEADER) $(NOMOCHEADER)