Hello,
"make -j5 install" for libksba 1.6.0 (windows) results in:
make[3]: Entering directory '/tmp/KSBA/libksba-1.6.0/build-i686-w64-mingw32/src' /usr/bin/make install-am make[4]: Entering directory '/tmp/KSBA/libksba-1.6.0/build-i686-w64-mingw32/src' make[5]: Entering directory '/tmp/KSBA/libksba-1.6.0/build-i686-w64-mingw32/src' /bin/mkdir -p '/tmp/KSBA/libksba-1.6.0/debian/tmp/usr/i686-w64-mingw32/bin' /usr/bin/install -c ksba-config '/tmp/KSBA/libksba-1.6.0/debian/tmp/usr/i686-w64-mingw32/bin' /usr/bin/install -c ../../src/libksba.def /tmp/KSBA/libksba-1.6.0/debian/tmp/usr/i686-w64-mingw32/lib/libksba.def /bin/mkdir -p '/tmp/KSBA/libksba-1.6.0/debian/tmp/usr/i686-w64-mingw32/lib' /bin/mkdir -p '/tmp/KSBA/libksba-1.6.0/debian/tmp/usr/i686-w64-mingw32/share/aclocal' /usr/bin/install: cannot create regular file '/tmp/KSBA/libksba-1.6.0/debian/tmp/usr/i686-w64-mingw32/lib/libksba.def': No such file or directory /bin/mkdir -p '/tmp/KSBA/libksba-1.6.0/debian/tmp/usr/i686-w64-mingw32/include' make[5]: *** [Makefile:1216: install-def-file] Error 1 make[5]: *** Waiting for unfinished jobs....
Afaict the reason is that install-data-local is not run after but in parallel and therefore $(DESTDIR)$(libdir) has not yet been generated.
This patch for src/Makefile.am seems to work as a hotfix
-install-data-local: install-def-file
+install-data-hook: install-def-file
But it seems clumsy, I guess the whole thing should be rewritten a la
defdir = $(libdir)
def_DATA = libksba.def
cu Andreas