Kornel Benko wrote: > I see, but this one is from automake, not from cmake (where one would > expect it). I don't have it local. The question mark is there, because I > didn't knew, where it came from). Searching now...
A sorry, I was confused. This file is for the monolithic build, and we have more of these, e.g. src/lyxcore.cpp. > # find . -name Makefile.am | xargs egrep lyxclient.cpp > --> > ./src/client/Makefile.am:lyxclient.cpp: > ./src/client/Makefile.am:BUILT_SOURCES = lyxclient.cpp > ./src/client/Makefile.am:CLEANFILES += lyxclient.cpp > ./src/client/Makefile.am:lyxclient_SOURCES = lyxclient.cpp $(HEADERFILES) > > So it is a built and removed source. Should it be ditributed? I don't think so. But I do not understand how to implement that. It seems that automake evalutes all if-branches when adding file to the *_DIST targets. Georg