Kornel Benko wrote: > Am Sonntag 18 Juli 2010 schrieb Peter Kümmel: >> Kornel Benko wrote: >>> Am Samstag 17 Juli 2010 schrieb Peter Kümmel: >>>> Kornel Benko wrote: >>>>> Peter, why is now >>>>> >>>>> include(CPack) >>>>> >>>>> allowed ony if "LYX_INSTALL" is set? >>>> Is it a problem to set LYX_INSTALL when packaging >>>> is required? Then we could a a new option. >>> Please do not. We already have many options, therefore you probably use >>> LYX_INSTALL to set many of them. The only exception is CPack. >>> In absence it will be disabled. >>> >>>>> Now is the belowed call >>>>> >>>>> make package >>>>> >>>>> crippled. >>>>> >>>>> IMHO It does not harm to have in unconditionally. >>>> When working on the code only it makes no sens to >>>> have the packaging. >>> I always compile with "make package". It means to check the full build. >>> This is not the same, as "make install", but rather "make". >> But currently without LYX_INSTALL by default no translations will be build. >> What will be packed then? > > Even if LYX_NLS were set?
Ah, shouldn't we then include CPack only when LYX_NLS is set? > The the new target "update_po_files" were also missing? Please Peter ... > >>> Anyway, there is a target package_source too, which is no more available >>> without CPack. >>> >>> Please allow me to restore this part. >> The only reason was to not pollute the build process with >> deploy projects by default. But in Studio the package is skipped. >> Then let us remove the if(LYX_INSTALL). > > Thanks. > >> Peter > > Kornel