Fix make distcheck for monolithic build

This commit is contained in:
Vincent van Ravesteijn 2013-10-12 01:38:14 +02:00
parent c85ff678c3
commit 9734ab7e34
2 changed files with 4 additions and 2 deletions

View File

@ -37,6 +37,8 @@ HEADERFILES =
lyxclient.cpp:
@echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@
EXTRA_DIST += pch.h
if MONOLITHIC_CLIENT
AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES)
@ -47,7 +49,6 @@ lyxclient_SOURCES = lyxclient.cpp $(HEADERFILES)
else
EXTRA_DIST += pch.h
AM_CPPFLAGS += $(PCH_FLAGS)
BUILT_SOURCES = $(PCH_FILE)

View File

@ -361,6 +361,8 @@ UIFILES = \
liblyxqt4.cpp:
@echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@
EXTRA_DIST = pch.h $(UIFILES:%=ui/%)
if MONOLITHIC_FRONTEND_QT4
liblyxqt4_a_SOURCES = \
@ -378,7 +380,6 @@ liblyxqt4_a_SOURCES = \
$(MOCHEADER) \
$(NOMOCHEADER)
EXTRA_DIST = pch.h $(UIFILES:%=ui/%)
BUILT_SOURCES += $(PCH_FILE)
AM_CPPFLAGS += $(PCH_FLAGS)