Hi, I have an automake file with rules for a lib like this:
__install_dir = $(prefix)/avr/lib/$(AVR_INSTALL_DIR)
avrdir = $(__install_dir)
avrlibdir = $(__install_dir)
avr_LIBRARIES = libdev.a
nodist_libdev_a_SOURCES = ...
What would be the recommended way to install libdev.a also in several
sub-folders like in $(avrlibdir)/dir1 $(avrlibdir)/dir2 etc.?
Currently, there are a bunch of SUBDIRS which are all generating the
same binary, it's just that they are installed in a slightly different
place.
Same for data:
avr_DATA = crt1.o
Would one just
avr1dir = $(avrdir)/xdir
avr1_DATA = crt1.o
Thanks for any insights,
Johann