Patrick Alken
2017-05-21 07:16:07 UTC
Hello,
I have a .info file (not generated by texinfo) and would like it to be
installed under 'make install'. I tried adding it like this:
info_DATA = file.info
but this gives the following error:
doc/Makefile.am:7: error: 'infodir' is not a legitimate directory for 'DATA'
My current solution, which works is this:
------------------
EXTRA_DIST = file.info
install-data-local: file.info
${INSTALL} file.info ${infodir}
------------------
This works but probably isn't the proper solution. Can anyone tell me
how to correctly install a .info file which isn't generated from a
.texinfo source?
Thanks,
Patrick
I have a .info file (not generated by texinfo) and would like it to be
installed under 'make install'. I tried adding it like this:
info_DATA = file.info
but this gives the following error:
doc/Makefile.am:7: error: 'infodir' is not a legitimate directory for 'DATA'
My current solution, which works is this:
------------------
EXTRA_DIST = file.info
install-data-local: file.info
${INSTALL} file.info ${infodir}
------------------
This works but probably isn't the proper solution. Can anyone tell me
how to correctly install a .info file which isn't generated from a
.texinfo source?
Thanks,
Patrick