Hi,
I’m currently trying to commit swipl-8.2.3 to freebsd ports, but my patch gets rejected due to the creation of a directory (/usr/local/share/swi-prolog) during build. I run:
cd swipl-devel
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr/local -G Ninja ..
ninja
… and the directory appears during ninja. If I add:
-DINSTALL_DOCUMENTATION=OFF
… to cmake the problem disappears. I have searched high and low in cmakefiles and some .pl files w/out spotting the reason. I would appreciate some pointers as to what I might do to avoid this directory while keeping INSTALL_DOCUMENTATION=ON.