From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 24E30DE0 for ; Sun, 6 Nov 2016 17:54:04 +0100 (CET) Received: by mail-wm0-f53.google.com with SMTP id u144so22555664wmu.1 for ; Sun, 06 Nov 2016 08:54:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=w4LL9jXYWNw7OTFqOJGvph76dNckLOtx7JHipHfSb/4=; b=A4xyCtiM9O6C2FbLM9cHirPooTmSER97L3EuR+aRkdxEmt0HawQbW5Kv10gxFj+Kyy LZWIq5p4LSj0u5c4tAusnzEogRdczX0ScxL/Pnd5nJwD67WsCBBayqg5xZgCjCERotVV kUZVaODPDqX0D1oaxk5OxRLoy7S5CxM30OgBi5ygVH769r/A9xKvumjnu/Q2uQNTxwUK 08FZ9e90EgzDloRMWO6l/jdeZ3xwFmGpSKrMJttI0LrNqf6FTP4mqhegoAUJEgNBehdy DfRap0Q9nlqkkmb8BUOh+hYaFTzkvEDEI92xFPiHC/YhlxIQkyJOm933n64J0Y4tNZLw GhcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=w4LL9jXYWNw7OTFqOJGvph76dNckLOtx7JHipHfSb/4=; b=gIDjXgVcal8MOqs6548nNTePx5EB4QKbdSN8T/HU2OeqPu8ZP2XLZBVEss7/NUazo0 oHjhet0LrNCfj/ocOZhKzvmrnNo07u/YU0BfG1MF8t1MKW0ezX21h3mmM1LKRHrZ3rU3 lyP73P0uOldX9cKqXV9gtOV0/YER7TvVUZBIGSFtpWx4WjOO9RG8FcBEegVliwj+jn2i x60KT2lW6sy8ZdRJEPzdkdWxTC3Gp3PIlyvBo4be7mZfGTE3RaWR2ySoJbPiFGVzn3dD 4fFpHNxLaARLpADA6q7JUhHNL6Q4J4cdQfCPB/QadxE4Ap6IC9kOm7vveEewM/IkL94C Wp7w== X-Gm-Message-State: ABUngvdphJ8uksYb9kgTHB80tT+ll41qaCn5kx8D4sMESzH/TOYAqrpPKsDMJY6T7qxpv87F X-Received: by 10.28.87.84 with SMTP id l81mr6336595wmb.48.1478451244157; Sun, 06 Nov 2016 08:54:04 -0800 (PST) Received: from XPS13.localdomain (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id w203sm8501082wmw.16.2016.11.06.08.54.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 06 Nov 2016 08:54:03 -0800 (PST) From: Thomas Monjalon To: dev@dpdk.org Date: Sun, 6 Nov 2016 17:53:56 +0100 Message-Id: <1478451236-19061-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-dev] [PATCH] mk: fix install-doc without html 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: Sun, 06 Nov 2016 16:54:05 -0000 When trying to install PDF, man pages or examples without having built neither HTML API nor HTML guides, there was an error: % make install-doc tar: html: Cannot stat: No such file or directory The fix is to check the html directory before installing HTML files. Fixes: e4552b9cc603 ("mk: install doc") Signed-off-by: Thomas Monjalon --- mk/rte.sdkinstall.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk index 004b38b..7b0d8b5 100644 --- a/mk/rte.sdkinstall.mk +++ b/mk/rte.sdkinstall.mk @@ -164,7 +164,7 @@ install-sdk: $(Q)$(call rte_symlink, $(DESTDIR)$(libdir), $(DESTDIR)$(targetdir)/lib) install-doc: -ifneq ($(wildcard $O/doc),) +ifneq ($(wildcard $O/doc/html),) $(Q)$(call rte_mkdir, $(DESTDIR)$(docdir)) $(Q)tar -cf - -C $O/doc html --exclude 'html/guides/.*' | \ tar -xf - -C $(DESTDIR)$(docdir) --strip-components=1 \ -- 2.7.0