# make install find bin -type f -printf %P\\0 | xargs -0r -I__ install -D bin/__ /usr/local/bin/__ find lib -type f -printf %P\\0 | xargs -0r -I__ install -m644 -D lib/__ /usr/local/lib/__ find man -type f -name \*.[12345678] -printf %P\\0 | xargs -0r -I__ install -m644 -D man/__ /usr/local/share/man/__ find man -type f -name \*.[12345678] -printf %P\\0 | xargs -0r -I__ gzip /usr/local/share/man/__ gzip: /usr/local/share/man/man1/freight-clear-cache.1.gz already exists; not overwritten gzip: /usr/local/share/man/man1/freight.1.gz already exists; not overwritten gzip: /usr/local/share/man/man1/freight-init.1.gz already exists; not overwritten gzip: /usr/local/share/man/man1/freight-add.1.gz already exists; not overwritten gzip: /usr/local/share/man/man1/freight-cache.1.gz already exists; not overwritten gzip: /usr/local/share/man/man5/freight.5.gz already exists; not overwritten Makefile:27: recipe for target 'install-man' failed make: *** [install-man] Error 123
It can be worked around by switching the gzip to forced mode in the Makefile but there is probably a better solution.
# make install find bin -type f -printf %P\\0 | xargs -0r -I__ install -D bin/__ /usr/local/bin/__ find lib -type f -printf %P\\0 | xargs -0r -I__ install -m644 -D lib/__ /usr/local/lib/__ find man -type f -name \*.[12345678] -printf %P\\0 | xargs -0r -I__ install -m644 -D man/__ /usr/local/share/man/__ find man -type f -name \*.[12345678] -printf %P\\0 | xargs -0r -I__ gzip -f /usr/local/share/man/__ find etc -type f -not -name freight.conf -printf %P\\0 | xargs -0r -I__ install -m644 -D etc/__ /usr/local/etc/__
# make install find bin -type f -printf %P\\0 | xargs -0r -I__ install -D bin/__ /usr/local/bin/__ find lib -type f -printf %P\\0 | xargs -0r -I__ install -m644 -D lib/__ /usr/local/lib/__ find man -type f -name \*.[12345678] -printf %P\\0 | xargs -0r -I__ install -m644 -D man/__ /usr/local/share/man/__ find man -type f -name \*.[12345678] -printf %P\\0 | xargs -0r -I__ gzip /usr/local/share/man/__ gzip: /usr/local/share/man/man1/freight-clear-cache.1.gz already exists; not overwritten gzip: /usr/local/share/man/man1/freight.1.gz already exists; not overwritten gzip: /usr/local/share/man/man1/freight-init.1.gz already exists; not overwritten gzip: /usr/local/share/man/man1/freight-add.1.gz already exists; not overwritten gzip: /usr/local/share/man/man1/freight-cache.1.gz already exists; not overwritten gzip: /usr/local/share/man/man5/freight.5.gz already exists; not overwritten Makefile:27: recipe for target 'install-man' failed make: *** [install-man] Error 123
It can be worked around by switching the gzip to forced mode in the Makefile but there is probably a better solution.
# make install find bin -type f -printf %P\\0 | xargs -0r -I__ install -D bin/__ /usr/local/bin/__ find lib -type f -printf %P\\0 | xargs -0r -I__ install -m644 -D lib/__ /usr/local/lib/__ find man -type f -name \*.[12345678] -printf %P\\0 | xargs -0r -I__ install -m644 -D man/__ /usr/local/share/man/__ find man -type f -name \*.[12345678] -printf %P\\0 | xargs -0r -I__ gzip -f /usr/local/share/man/__ find etc -type f -not -name freight.conf -printf %P\\0 | xargs -0r -I__ install -m644 -D etc/__ /usr/local/etc/__