]> git.proxmox.com Git - mirror_frr.git/commit
doc: Use `mv -f` in Makefile
authorChristian Franke <chris@opensourcerouting.org>
Fri, 28 Sep 2018 17:32:38 +0000 (19:32 +0200)
committerDavid Lamparter <equinox@diac24.net>
Thu, 25 Oct 2018 15:30:21 +0000 (17:30 +0200)
commit8b057c08a4becdb29b0e8dd5b9dccda2ac4e8854
treeb7708a37c10155a99760fefe7df119e7948da90c
parent8b64d7cd193f0d1f9db8dd260c09244b5d3c1803
doc: Use `mv -f` in Makefile

Sphinx always runs, even in the `make install` stage. When `make install`
is run as root and then another `make` is run by a nonprivileged user,
some versions of `mv` prompt like this:

    mv: replace 'doc/manpages/_build/man/man.stamp',
                 overriding mode 0644 (rw-r--r--)?

Add -f to `mv` to avoid this. As `-f` is part of Posix, this should be
portable enough.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
doc/subdir.am