Closed vadi2 closed 3 years ago
It works for me - when looking at the bad command I can see some "$(DESTDIR)" references which I can not find in the current source code on github. So it may have been fixed earlier (but I did not have time to make a release).
Now the command looks like this
build-nj/build.ninja: COMMAND = cd /home/guidod/work/zziplib-master/build-nj/docs && /bin/bash -c "ls -l /home/guidod/work/zziplib-master/build-nj/docs/site.html" && /bin/bash -c "mkdir -vp \$$DESTDIR/home/guidod/local/share/doc/zziplib >&2 || ls -ld \$$DESTDIR/home/guidod/local/share/doc/zziplib >&2" && /bin/bash -c "cd /home/guidod/work/zziplib-master/build-nj/docs && cp zziplib.html zzipmmapped.html zzipfseeko.html \$$DESTDIR/home/guidod/local/share/doc/zziplib/" && /bin/bash -c "cd /home/guidod/work/zziplib-master/docs && cp README.* COPYING.* \$$DESTDIR/home/guidod/local/share/doc/zziplib/" && /bin/bash -c "cd /home/guidod/work/zziplib-master && cp ChangeLog \$$DESTDIR/home/guidod/local/share/doc/zziplib/" && /bin/bash -c "cd /home/guidod/work/zziplib-master && cp /home/guidod/work/zziplib-master/bins/zzdir.c /home/guidod/work/zziplib-master/bins/zzcat.c /home/guidod/work/zziplib-master/bins/zzobfuscated.c /home/guidod/work/zziplib-master/bins/zziptest.c /home/guidod/work/zziplib-master/bins/zzxordir.c /home/guidod/work/zziplib-master/bins/zzxorcat.c /home/guidod/work/zziplib-master/bins/zzxorcopy.c \$$DESTDIR/home/guidod/local/share/doc/zziplib/" && /bin/bash -c "cd /home/guidod/work/zziplib-master && cp /home/guidod/work/zziplib-master/SDL/SDL_rwops_zzcat.c /home/guidod/work/zziplib-master/SDL/SDL_rwops_zzip.c /home/guidod/work/zziplib-master/SDL/SDL_rwops_zzip.h \$$DESTDIR/home/guidod/local/share/doc/zziplib/" && /bin/bash -c "cd \$$DESTDIR/home/guidod/local/share/doc/zziplib && cp /home/guidod/work/zziplib-master/build-nj/docs/*.html ." && /bin/bash -c "cd \$$DESTDIR/home/guidod/local/share/doc/zziplib && ln -s zzip-index.html index.html" build-nj/build.ninja: COMMAND = cd /home/guidod/work/zziplib-master/build-nj/docs && /bin/bash -c "ls -l /home/guidod/work/zziplib-master/build-nj/docs/*pages.tar" && /bin/bash -c "mkdir -vp \$$DESTDIR/home/guidod/local/share/doc/zziplib >&2 || ls -ld \$$DESTDIR/home/guidod/local/share/doc/zziplib >&2" && /bin/bash -c "cd \$$DESTDIR/home/guidod/local/share/doc/zziplib && tar x -f /home/guidod/work/zziplib-master/build-nj/docs/htmpages.tar" && /bin/bash -c "cd \$$DESTDIR/home/guidod/local/share/doc/zziplib && mv html man" build-nj/build.ninja: COMMAND = cd /home/guidod/work/zziplib-master/build-nj/docs && /bin/bash -c "ls -l /home/guidod/work/zziplib-master/build-nj/docs/*pages.tar" && /bin/bash -c "mkdir -vp \$$DESTDIR/home/guidod/local/share/man >&2 || ls -ld \$$DESTDIR/home/guidod/local/share/man >&2" && /bin/bash -c "cd \$$DESTDIR/home/guidod/local/share/man && tar xf /home/guidod/work/zziplib-master/build-nj/docs/manpages.tar"
build.ninja:1885
is: