29 nov. 2016 kl. 13:56 skrev Pontus Östlund <[email protected]>:
> 
> Another thing I noticed is that when you run pike -x module module_modref in 
> a local CMOD module the cmod doesn't get extracted. The .so file (and .pmod) 
> gets copied to plib/module but not the .cmod file. Then in 
> extract_autodoc.pike is this line:
> 
>     foreach(filter(get_dir(srcdir), has_suffix, ".cmod"), string fn) 
> 
> But there will never be any .cmod file in there. 
> 
> But this might be due to a misconfiguration from my side in module?

Ok, after som searching I found you need the AUTODOC_SRC_IN directive in 
Makefile.in. But "cmods" isn't allowed there apparently:

if( !(< "c", "cc", "cpp", "m", /* "cmod", */ "pike", "pmod", >)[suffix] )
    error("Unknown filetype %O.\n", suffix);


Regards
-----------------------------
Pontus Östlund
Developer • Roxen AB
+46 70-662 81 69

www.roxen.com <http://www.roxen.com/> | twitter.com/roxen 
<https://twitter.com/roxen>

Reply via email to