There are several makefile variables which help you install files
in special
directories.
These are the variables
stardocs_DATA,
staretc_DATA,
starexamples_DATA,
starhelp_DATA and
starnews_DATA (there is also
starfacs_DATA, for facility files, but this is handled
for you, and you should not need to refer to this explicitly). In the
Makefile.am the variable has as value a list of files to
be installed as data in the corresponding place.
The list of documentation files is not necessarily known
in advance, since the macro STAR_LATEX_DOCUMENTATION has a default list of
targets it will generate. You can give the value of the
stardocs_DATA as a substitution variable:
(plus any other documentation files you require). See Section 4.6 for more discussion.stardocs_DATA = @STAR_LATEX_DOCUMENTATION@