after looking around at various mailing lists, to find out where the
examples probably ought to go i arrived at the following rule set:
# the tmp-examples stuff is just so that only the pl files get
installed
install-examples:
\ mkdir tmp-examples/
\ cp examples/*.pl tmp-examples/
\ \$(MOD_INSTALL) ./tmp-examples/ \\
\$(PREFIX)/share/doc/perl-\$(DISTNAME)/examples
\ rm tmp-examples/*.pl
\ rmdir tmp-examples/
i don't really like having to copy the files into a second, temporary,
directory, but in order to use the $(MOD_INSTALL) method it seemed to
be
necessary.