diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-06-29 11:11:20 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-06-29 11:11:20 +0200 |
commit | 382bc0047d33ada5f4b33cab077aa369eb9cb7f7 (patch) | |
tree | b6cfe8a829164dd33d04d7c2309f01385535cc40 /staging/cli_tcp.c | |
parent | 9977ec6012452bfc5053dbc90aed53f55064c86b (diff) |
make: Create containing directories for manpages if not existent
When installing to the default DESTDIR /usr/local with non existent
/usr/local/share/man/man8 (or any subpath of it), the installation
of manpages fails with e.g.
install: cannot create regular file `/usr/local/share/man/man8/netsniff-ng.8.gz': No such file or directory
make: *** [netsniff-ng_do_install] Error 1
Thus, create any leading, non-existent directories by using the INST
instead of the INSTX command which will call install -d on the path.
Reported-by: James Burnett <James.Burnett@geant.org>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'staging/cli_tcp.c')
0 files changed, 0 insertions, 0 deletions