[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to move aminfo-results (PDF/HTML) from clean-aminfo to maintainer-cl
How to move aminfo-results (PDF/HTML) from clean-aminfo to maintainer-clean-aminfo?
Fri, 16 Feb 2018 15:11:03 +0100
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
* `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
-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,
|[Prev in Thread]
||[Next in Thread]|
- How to move aminfo-results (PDF/HTML) from clean-aminfo to maintainer-clean-aminfo?,
Simon Sobisch <=