Trial and error yield success with the following bin_PROGRAMS = lyx $(FRONTENDS_PROGS) #noinst_PROGRAMS = $(FRONTENDS_PROGS) #EXTRA_PROGRAMS = lyx-xforms lyx-qt lyx-gtk
I'm not sure if this is correct as, checking the docs, EXTRA_PROGRAMS is the correct way to add optional programs. Regards Will On Mon, 2005-04-18 at 19:21 +0100, Will Ratcliffe wrote: > Well I'm no expert on automake but it seems that adding the programs we > have requested to build to noinst_ is going to guarantee that they don't > get installed. > > what does > > bin_PROGRAMS = $(FRONTENDS_PROGS) > > do i wonder? > > > On Mon, 2005-04-18 at 19:03 +0100, John Spray wrote: > > On Mon, 2005-04-18 at 18:07 +0100, Will Ratcliffe wrote: > > > Also when i 'make install' only the xforms version is installed to > > > $prefix. Is this intentional? I'd like to install the gtk version > > > properly. > > > > It appears that only the file symlinked to by src/lyx is installed. So, > > although I have lyx-xforms, lyx-qt and lyx-gtk built, only lyx-xforms > > gets installed (with the filename 'lyx'). Relevant excerpt from > > Makefile.am: > > > > > bin_PROGRAMS = lyx > > > noinst_PROGRAMS = $(FRONTENDS_PROGS) > > > EXTRA_PROGRAMS = lyx-xforms lyx-qt lyx-gtk > > > > Nothing seems to do anything with EXTRA_PROGRAMS. I don't understand. > > > > John > > > > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses, which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.