mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Make monolithic build code portable to Mac OS
"echo -e" is definitely not portable. Use a plain loop instead. Also use the automake silent rule mechanism to make the generation of monolithic source files visible.
This commit is contained in:
parent
a81b030aee
commit
9fc27f6bb7
@ -323,7 +323,7 @@ BUILT_SOURCES = lyx_commit_hash.h
|
||||
CLEANFILES = lyx_commit_hash.h
|
||||
|
||||
lyxcore.cpp:
|
||||
@echo -e '$(SOURCEFILESCORE:%=\n#include "%")\n' > $@
|
||||
$(AM_V_GEN)for file in $(SOURCEFILESCORE) ; do echo '#include "'$${file}'"' ; done >$@
|
||||
|
||||
if MONOLITHIC_CORE
|
||||
|
||||
@ -535,7 +535,7 @@ HEADERFILESMATHED = \
|
||||
mathed/TextPainter.h
|
||||
|
||||
lyxmathed.cpp:
|
||||
@echo -e '$(SOURCEFILESMATHED:%=\n#include "%")\n' > $@
|
||||
$(AM_V_GEN)for file in $(SOURCEFILESMATHED) ; do echo '#include "'$${file}'"' ; done >$@
|
||||
|
||||
if MONOLITHIC_MATHED
|
||||
|
||||
@ -678,7 +678,7 @@ HEADERFILESINSETS = \
|
||||
# insets/InsetSection.cpp
|
||||
|
||||
lyxinsets.cpp:
|
||||
@echo -e '$(SOURCEFILESINSETS:%=\n#include "%")\n' > $@
|
||||
$(AM_V_GEN)for file in $(SOURCEFILESINSETS) ; do echo '#include "'$${file}'"' ; done >$@
|
||||
|
||||
if MONOLITHIC_INSETS
|
||||
|
||||
|
@ -35,7 +35,7 @@ HEADERFILES =
|
||||
|
||||
|
||||
lyxclient.cpp:
|
||||
@echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@
|
||||
$(AM_V_GEN)for file in $(SOURCEFILES) ; do echo '#include "'$${file}'"' ; done >$@
|
||||
|
||||
if MONOLITHIC_CLIENT
|
||||
|
||||
|
@ -355,7 +355,7 @@ UIFILES = \
|
||||
nodist_liblyxqt4_a_SOURCES = Resources.cpp
|
||||
|
||||
liblyxqt4.cpp:
|
||||
@echo -e '$(SOURCEFILES:%=\n#include "%")\n' > $@
|
||||
$(AM_V_GEN)for file in $(SOURCEFILES) ; do echo '#include "'$${file}'"' ; done >$@
|
||||
|
||||
if MONOLITHIC_FRONTEND_QT
|
||||
|
||||
|
@ -107,3 +107,5 @@ What's new
|
||||
- Due to bug fixes, it is no longer discouraged to build against Qt 5.4.
|
||||
|
||||
- Building against Qt < 4.7 no longer fails.
|
||||
|
||||
- Fix monolithic builds with autotools on Mac OS X.
|
||||
|
Loading…
Reference in New Issue
Block a user