From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mogw0411.ocn.ad.jp (mogw0411.ocn.ad.jp [118.23.109.39]) by dpdk.org (Postfix) with ESMTP id 7C10A1B8A7 for ; Thu, 1 Feb 2018 05:05:32 +0100 (CET) Received: from mf-smf-ucb035c2 (mf-smf-ucb035c2.ocn.ad.jp [153.153.66.231]) by mogw0411.ocn.ad.jp (Postfix) with ESMTP id 2A169370259; Thu, 1 Feb 2018 13:05:31 +0900 (JST) Received: from ntt.pod01.mv-mta-ucb027 ([153.149.142.101]) by mf-smf-ucb035c2 with ESMTP id h67teGtPY6jGjh67veBIaS; Thu, 01 Feb 2018 13:05:31 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.166]) by ntt.pod01.mv-mta-ucb027 with id 5G5W1x00F3c2f7501G5Wct; Thu, 01 Feb 2018 04:05:31 +0000 Received: from localhost.localdomain (sp1-66-99-86.msc.spmode.ne.jp [1.66.99.86]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Thu, 1 Feb 2018 13:05:30 +0900 (JST) From: ogawa.yasufumi@lab.ntt.co.jp To: spp@dpdk.org, ferruh.yigit@intel.com Cc: Yasufumi Ogawa Date: Thu, 1 Feb 2018 13:05:01 +0900 Message-Id: <20180201040501.8004-15-ogawa.yasufumi@lab.ntt.co.jp> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20180201040501.8004-1-ogawa.yasufumi@lab.ntt.co.jp> References: <20180201040501.8004-1-ogawa.yasufumi@lab.ntt.co.jp> Subject: [spp] [PATCH 15/15] makefile: add target for compile rst documents X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2018 04:05:32 -0000 From: Yasufumi Ogawa Add targets for compile and clean RST documents. # Compile RST documents. $ make doc-html # Clean documents. $ make doc-clean This update includes a change for .gitignore to exclude generated documents in 'docs/guides/_build'. Signed-off-by: Yasufumi Ogawa --- .gitignore | 1 + Makefile | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/.gitignore b/.gitignore index a01ee28..08ac066 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .*.swp +docs/guides/_build/* diff --git a/Makefile b/Makefile index fa6dcd3..9b198b7 100644 --- a/Makefile +++ b/Makefile @@ -43,3 +43,12 @@ include $(RTE_SDK)/mk/rte.vars.mk DIRS-y += src include $(RTE_SDK)/mk/rte.extsubdir.mk + +# Compile RST documents +.PHONY: doc-html +doc-html: + sh docs/guides/compile-doc.sh doc-html + +.PHONY: doc-clean +doc-clean: + sh docs/guides/compile-doc.sh clean -- 2.7.4