Hi!  We received a bug report recently:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=424253

The problem seems to be that I want to make 'shishi.ps' part of the
distribution archive (to provide easier access to the manual), and this
works poorly with automake's default rules.  In doc/Makefile.am I have:

EXTRA_DIST = gdoc shishi.html shishi.pdf shishi.ps components.dia

This leads to that

./configure && make clean

will remove doc/shishi.ps for a user.

How can I change the rules so that shishi.ps (and shishi.pdf and
shishi.html) are only removed by 'make maintainer-clean'?  That seems to
be the appropriate rule to remove these files in, assuming (as I want
to) that the files are generated by the maintainer.

The cause seems to be the mostlyclean-aminfo rule, which in the
generated Makefile looks like:

mostlyclean-aminfo:
        -rm -rf shishi.aux shishi.cp shishi.cps shishi.fn shishi.fns shishi.ky \
          shishi.kys shishi.log shishi.pg shishi.tmp shishi.toc \
          shishi.tp shishi.vr shishi.vrs shishi.dvi shishi.pdf \
          shishi.ps shishi.html

Here I don't want shishi.{html,ps,pdf} to be included.

Ideas?

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?

Thanks,
Simon


Reply via email to