package/nftables: do not build docs
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 27 Dec 2014 14:50:20 +0000 (15:50 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 27 Dec 2014 14:54:46 +0000 (15:54 +0100)
Building docs requires dblatex with a working Jade Wrapper (jw) which
may well be missing on the build machine, and we do not build our own.

Since docs are anyway removed from the target, just do not build them.

Tell ./configure that we do not have the required tools:
  - DBLATEX=no to disable PDF generation
  - DOCBOOK2X_MAN=no, DOCBOOK2MAN=no and DB2X_DOCBOOK2MAN=no to disable
    manpage generation

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/nftables/nftables.mk

index 9f18df7f1943205b9dfef4878e47957e6b4bd8f2..6be05edbeda0a854190f5b31fdaca0dba382dfa9 100644 (file)
@@ -22,6 +22,10 @@ endif
 
 NFTABLES_CONF_ENV = \
        ac_cv_prog_CONFIG_PDF=no \
-       LIBS="$(NFTABLES_LIBS)"
+       LIBS="$(NFTABLES_LIBS)" \
+       DBLATEX=no \
+       DOCBOOK2X_MAN=no \
+       DOCBOOK2MAN=no \
+       DB2X_DOCBOOK2MAN=no
 
 $(eval $(autotools-package))