package/apparmor: skip docs building
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>
Wed, 29 Apr 2020 21:18:40 +0000 (23:18 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 7 May 2020 20:47:16 +0000 (22:47 +0200)
When pod2man and pod2html are missing, building now exits with an
error.
Building of man pages and documentation should be skipped in buildroot,
setting both executables to the "true" command it's sufficient to skip
them.

Fixes:
http://autobuild.buildroot.net/results/ca8d3071d888b5c1cfa3e275afaf05415e19627f

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/apparmor/apparmor.mk

index f1b765ce4256e56ae2740f10bb7859a9e2e5c117..f667966082439df3da730f90a50c7b36495f8a65 100644 (file)
@@ -15,7 +15,7 @@ APPARMOR_LICENSE_FILES = LICENSE parser/COPYING.GPL
 APPARMOR_DEPENDENCIES = libapparmor
 
 APPARMOR_TOOLS = parser
-APPARMOR_MAKE_OPTS = USE_SYSTEM=1 DISTRO=unknown
+APPARMOR_MAKE_OPTS = USE_SYSTEM=1 DISTRO=unknown POD2MAN=true POD2HTML=true
 
 ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y)
 APPARMOR_DEPENDENCIES += gettext