network-manager: remove bogus --mandir option
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 29 Oct 2016 13:03:58 +0000 (15:03 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 29 Oct 2016 13:03:58 +0000 (15:03 +0200)
commitfe70f20daece4a845fbcc4ea2e7758c0e006d2fd
tree938e4f8ace35780f926b431cdcfe3f54e723d924
parent1ba7b6a4f12977aec994c4f38d5be38cfdb27846
network-manager: remove bogus --mandir option

The network-manager.mk passes --mandir=$(STAGING_DIR)/usr/man/, which
causes man pages to be installed in
$(STAGING_DIR)/$(STAGING_DIR)/usr/man and
$(TARGET_DIR)/$(STAGING_DIR)/usr/man.

This is definitely bogus and causes some build failures thanks to the
new check added by Yann E. Morin. This option was in
network-manager.mk since the addition of the package. Maybe it was
fixing a bug in the package logic back at the time, but nowadays, it
causes an installation at the wrong location. Without this commit, the
man pages are properly installed at the right location.

Fixes:

  http://autobuild.buildroot.net/results/92683749b0b8e726bc83781ca6d8e103428362ba/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/network-manager/network-manager.mk