From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 712E65A9D for ; Fri, 27 Mar 2015 15:34:55 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 27 Mar 2015 07:34:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,479,1422950400"; d="scan'208";a="671509249" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga001.jf.intel.com with ESMTP; 27 Mar 2015 07:34:47 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t2REYjAn012856; Fri, 27 Mar 2015 14:34:46 GMT Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t2REYj47016659; Fri, 27 Mar 2015 14:34:45 GMT Received: (from jmcnam2x@localhost) by sivswdev02.ir.intel.com with id t2REYj7n016655; Fri, 27 Mar 2015 14:34:45 GMT From: John McNamara To: dev@dpdk.org Date: Fri, 27 Mar 2015 14:34:43 +0000 Message-Id: <1427466883-16624-1-git-send-email-john.mcnamara@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH] mk: create pdf docs as a separate make target X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 14:34:55 -0000 This patch separates out the PDF generation from 'make doc' to 'make doc-pdf'. The docs can now be built as follows: make doc make doc-pdf This is to: * Reduce the PDF dependencies for people who only require the Html docs. * Speed up the doc build. Signed-off-by: John McNamara --- mk/rte.sdkdoc.mk | 2 +- mk/rte.sdkroot.mk | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mk/rte.sdkdoc.mk b/mk/rte.sdkdoc.mk index 5b44083..b0303f2 100644 --- a/mk/rte.sdkdoc.mk +++ b/mk/rte.sdkdoc.mk @@ -60,7 +60,7 @@ help: @$(MAKE) -rR showconfigs | sed 's,^,\t\t\t\t,' .PHONY: all -all: api-html guides-html guides-pdf +all: api-html guides-html .PHONY: clean clean: api-html-clean guides-html-clean guides-pdf-clean diff --git a/mk/rte.sdkroot.mk b/mk/rte.sdkroot.mk index e8423b0..eace554 100644 --- a/mk/rte.sdkroot.mk +++ b/mk/rte.sdkroot.mk @@ -101,9 +101,10 @@ testall: install uninstall: $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkinstall.mk $@ -.PHONY: doc help +.PHONY: doc help doc-pdf doc: doc-all help: doc-help +doc-pdf: doc-guides-pdf doc-%: $(Q)$(MAKE) -f $(RTE_SDK)/mk/rte.sdkdoc.mk $* -- 1.8.1.4