Simon Sobisch
2018-02-16 14:11:03 UTC
GnuCOBOL includes the manual in both info and PDF formats in its
tarballs, but the PDF is removed on `make clean`.
This is the main part of doc/Makefile.am:
_________________________________________
info_TEXINFOS = gnucobol.texi
gnucobol_TEXINFOS = fdl.texi
EXTRA_DIST = gnucobol.pdf
AM_MAKEINFOHTMLFLAGS = --no-headers --no-split
CLEANFILES = *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.vrs
TEXI2DVI = texi2dvi -I $(srcdir)
_________________________________________
This is the current behavior:
* `make dist` creates .info and .pdf, both are included in the
tarball
* `make clean` removes .pdf
* `make maintainer-clean` removes .info
Therefore the purpose of EXTRA_DIST "the user doesn't need to have the
tools installed to create the file"
only works as long as he doesn't call `make clean`.
I've checked the generated Makefile.in and indeed it has
clean-aminfo:
-test -z "gnucobol.dvi gnucobol.pdf gnucobol.ps gnucobol.html" \
|| rm -rf gnucobol.dvi
Is there an option to move gnucobol.pdf (and ideally gnucobol.html,
too) from clean-aminfo to maintainer-clean-aminfo?
Thank you for providing helpful notes,
Simon
tarballs, but the PDF is removed on `make clean`.
This is the main part of doc/Makefile.am:
_________________________________________
info_TEXINFOS = gnucobol.texi
gnucobol_TEXINFOS = fdl.texi
EXTRA_DIST = gnucobol.pdf
AM_MAKEINFOHTMLFLAGS = --no-headers --no-split
CLEANFILES = *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.vrs
TEXI2DVI = texi2dvi -I $(srcdir)
_________________________________________
This is the current behavior:
* `make dist` creates .info and .pdf, both are included in the
tarball
* `make clean` removes .pdf
* `make maintainer-clean` removes .info
Therefore the purpose of EXTRA_DIST "the user doesn't need to have the
tools installed to create the file"
only works as long as he doesn't call `make clean`.
I've checked the generated Makefile.in and indeed it has
clean-aminfo:
-test -z "gnucobol.dvi gnucobol.pdf gnucobol.ps gnucobol.html" \
|| rm -rf gnucobol.dvi
Is there an option to move gnucobol.pdf (and ideally gnucobol.html,
too) from clean-aminfo to maintainer-clean-aminfo?
Thank you for providing helpful notes,
Simon