Hello all, I wonder if anyone could give pointers to advice on how to integrate a Perl XS module with an Automake build system? Over at the Texinfo project we're starting to replace parts of makeinfo with loadable native-code modules, for speed.
The problem is that the Makefiles produced by ExtUtils::MakeMaker (the module used by the XS tutorial, "man perlxstut") doesn't follow the standards required by Automake. (Info node "(automake)Third-Party Makefiles", and the GNU Coding Standards). For example, "make clean" actually removes the Makefile. I found a couple of web pages that mentioned this, so basically I was looking for any updates since then, or other information. http://www.eyrie.org/~eagle/journal/2013-01/025.html suggested not to use ExtUtils::MakeMaker at all. http://lists.gnu.org/archive/html/automake/2009-10/msg00034.html gave a link to how t was done in GraphicsMagick. Today's version of that appears to be at http://hg.code.sf.net/p/graphicsmagick/code/file/f11c2c4e798c/PerlMagick/Makefile.am. Many thanks, Gavin