sezero / mikmod

Mikmod Sound System (mirror of git repo at https://sf.net/projects/mikmod/)
http://mikmod.sourceforge.net/
69 stars 21 forks source link

[Feature request] Building without texinfo dependency #53

Closed vanfanel closed 3 years ago

vanfanel commented 3 years ago

Hi @sezero

I was surprised you are in charge of this classic mikmod! Thanks!

I would like to ask you if it would be possible to add an option to build without texinfo dependency, as that pulls 11MB of dependencies.

This is what currently happens if I try, since makeinfo (part of texinfo) is not found:


/bin/sh: 1: MAKEINFO_EXECUTABLE-NOTFOUND: not found
make[2]: *** [docs/CMakeFiles/info.dir/build.make:62: docs/mikmod.info] Error 127
make[1]: *** [CMakeFiles/Makefile2:320: docs/CMakeFiles/info.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

I believe makeinfo is needed to generate html docs, which could be optional in such a basic library.

sezero commented 3 years ago

You can do --disable-doc with autotools, or cmake -DENABLE_DOC=0 with cmake. Does it work for you?

vanfanel commented 3 years ago

@sezero Yes! It works perfectly! Thanks a lot! :)