Hello, On Wed, May 23, 2007 at 11:34:08AM +0200, Simon Josefsson wrote: > Is there some other way to achieve what I want (i.e., ship manuals > in > many formats and have them stick around after 'make clean') that > I've > missed?
looking at the source (automake.in) or installed automake script, one can see that it's hardwired: procedure output_texinfo_build_rules returns the *.ps and others, and the caller adds them to texi_cleans. You can always patch automake and submit the change, but if your needs are special, there is little chance that your change gets accepted. Or you can resort to a hack: configure would make a bacup copy at configure time, and that copy would be used by mostlyclean-local to restore the just-deleted files. Or you can put the ``official'' docs separatey, not in the place where they are usually built, and tell users about it. HTH, Stepan Kasal