{"id":32,"url":"https://patchwork.libcamera.org/api/1.1/patches/32/?format=json","web_url":"https://patchwork.libcamera.org/patch/32/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20181211191011.6315-3-laurent.pinchart@ideasonboard.com>","date":"2018-12-11T19:10:07","name":"[libcamera-devel,2/6] Documentation: Set install_dir in custom_target()","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"b09d62ff6a897529c83e237b065f67cbf808f94d","submitter":{"id":2,"url":"https://patchwork.libcamera.org/api/1.1/people/2/?format=json","name":"Laurent Pinchart","email":"laurent.pinchart@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/32/mbox/","series":[{"id":16,"url":"https://patchwork.libcamera.org/api/1.1/series/16/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=16","date":"2018-12-11T19:10:05","name":"Documentation: Initial Doxygen support","version":1,"mbox":"https://patchwork.libcamera.org/series/16/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/32/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/32/checks/","tags":{},"headers":{"Return-Path":"<laurent.pinchart@ideasonboard.com>","Received":["from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 881FE60B0C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 11 Dec 2018 20:09:41 +0100 (CET)","from avalon.bb.dnainternet.fi\n\t(dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi\n\t[IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 659B755A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 11 Dec 2018 20:09:40 +0100 (CET)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1544555380;\n\tbh=Ixks3SKBqsGQSfh21EodhI4wwwH29F1KEwh1SHuNeWo=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=Z87NZmyRhtZJTLAxKg5oPQgkaJEuxu8/rFN8BUBNesSs7O2ozoqnGkyaexff75jp/\n\tAAjibh0QKiqaeLqcyd0621p2CNlRbHu9YGm/7CNtyDnxVj6k+xMilIh3Nb1ze5CdST\n\tk02wfb09k4Vi0tmiw8+OuXF35wEzb/lMyiVmqY74=","From":"Laurent Pinchart <laurent.pinchart@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Tue, 11 Dec 2018 21:10:07 +0200","Message-Id":"<20181211191011.6315-3-laurent.pinchart@ideasonboard.com>","X-Mailer":"git-send-email 2.19.2","In-Reply-To":"<20181211191011.6315-1-laurent.pinchart@ideasonboard.com>","References":"<20181211191011.6315-1-laurent.pinchart@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 2/6] Documentation: Set install_dir in\n\tcustom_target()","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Tue, 11 Dec 2018 19:09:41 -0000"},"content":"The custom_target() function accepts an install_dir parameter. Along\nwith setting install to true, this can be used to replace the\ninstall_subdir() function.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n Documentation/meson.build | 7 +++----\n 1 file changed, 3 insertions(+), 4 deletions(-)","diff":"diff --git a/Documentation/meson.build b/Documentation/meson.build\nindex 578c1cae65f5..49e6f3742ffe 100644\n--- a/Documentation/meson.build\n+++ b/Documentation/meson.build\n@@ -14,8 +14,7 @@ if sphinx.found()\n                   command: [sphinx, '-W', '-b', 'html', meson.current_source_dir(), '@OUTPUT@'],\n                   input: docs_sources,\n                   output: 'html',\n-                  build_by_default: true)\n-\n-    install_subdir(meson.current_build_dir() + '/html',\n-                   install_dir: 'share/doc/libcamera-@0@'.format(api_version))\n+                  build_by_default: true,\n+                  install: true,\n+                  install_dir: 'share/doc/libcamera-@0@'.format(api_version))\n endif\n","prefixes":["libcamera-devel","2/6"]}