From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 1FBD47EF0D for ; Tue, 9 Feb 2016 15:48:50 +0100 (CET) IronPort-PHdr: 9a23:godh7ROm5l4etiSKjOAl6mtUPXoX/o7sNwtQ0KIMzox0Kf36rarrMEGX3/hxlliBBdydsKIbzbGO+P69EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZvIaytQ8iJ35vxjLj5pcCbSj4LrQT+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf9d32JiKAHbtR/94sCt4MwrqHwI6LoJvvRNWqTifqk+UacQTHF/azh0t/vQqALbQACTynwZW2QQ2loUUkmWpC39C7v4tCr3st1XTC+IOcy+Gbw9XzWv6+FhVRLumiMGHzMj6mjLi9VtgeRQoETyiQZ4xtv7aYuPNfd6NpjWfd4ASHAJCslYXTZAD4f6dIAPAvAMJ85XqoD8ox0Fqh7oVlrkP//m1jId3iy+5qY9yel0VFyf0Q== Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=gabriel.scherer@gmail.com; spf=Pass smtp.mailfrom=gabriel.scherer@gmail.com; spf=None smtp.helo=postmaster@mail-ig0-f172.google.com Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of gabriel.scherer@gmail.com) identity=pra; client-ip=209.85.213.172; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="gabriel.scherer@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of gabriel.scherer@gmail.com designates 209.85.213.172 as permitted sender) identity=mailfrom; client-ip=209.85.213.172; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="gabriel.scherer@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ig0-f172.google.com) identity=helo; client-ip=209.85.213.172; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="postmaster@mail-ig0-f172.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CDBAAc/LlWkazVVdFeg1g0bQaIVp84gU6FRIpfgWYjhWoCgSsHORMBAQEBAQEBARABAQEBBwsLCR8wgi2CFQEBAwESER0BGxILAQMBCwYFBAcaHQICIgERAQUBChIGExIQh2MBAwoIDqINgTE+MYs0gWmCV4UTChknAwpRg34BAQEBAQUBAQEBAQEBARIBBQoEhgSEN4JUgguCU4E6BYYUDId7iF2FTIgEgiWMTkSMPxEegQ0PEwGCNR6Bbh4uiFMBAQE X-IPAS-Result: A0CDBAAc/LlWkazVVdFeg1g0bQaIVp84gU6FRIpfgWYjhWoCgSsHORMBAQEBAQEBARABAQEBBwsLCR8wgi2CFQEBAwESER0BGxILAQMBCwYFBAcaHQICIgERAQUBChIGExIQh2MBAwoIDqINgTE+MYs0gWmCV4UTChknAwpRg34BAQEBAQUBAQEBAQEBARIBBQoEhgSEN4JUgguCU4E6BYYUDId7iF2FTIgEgiWMTkSMPxEegQ0PEwGCNR6Bbh4uiFMBAQE X-IronPort-AV: E=Sophos;i="5.22,421,1449529200"; d="scan'208,217";a="164050823" Received: from mail-ig0-f172.google.com ([209.85.213.172]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 09 Feb 2016 15:48:24 +0100 Received: by mail-ig0-f172.google.com with SMTP id hb3so78748134igb.0 for ; Tue, 09 Feb 2016 06:48:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=RRp87MqAdzNHNDJMKAjHXW8i4HBKrDZFy1rbhGgM3c0=; b=j4xbXzsXW9dwv/UEikgC3rarU2m/v9Tso76yghpH0K7AxceN9UwcIlV6fbf4KBeovr oLr+t2wgUtGNnJ6+H4pdHHfgJRWHWHMS3lVbD6+pC6MigwsfX+szRPwOW5HWePLZaGHD HcePBmQeqb8Y9MLnthMIPn0esC7jeolBCVjkwkmwHADcX9OoINDpX/7lIggfNHlpObSf uRwZ7IxtEhqn5PbVyizbudnXT22HjpBvm7lAjGQLb0X1mg03SIHXhXYqpQNrFsSgpV6O M8uqSCqnKOgiVFkrG64KKwEbLGsZ3ksLB7impJ9eIe+/Saiswb2lE+V4En0FVj2fD7ok CvKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=RRp87MqAdzNHNDJMKAjHXW8i4HBKrDZFy1rbhGgM3c0=; b=O/UrAI1bJHs/Wwt79X4DwP9XrVlzAiW6EJ3FGwUlOGL/Bu5/SAVYD2LjdBrFcyOkRV jT9+Y9V9PlmcIzkt6GqzNLisZto/i8Vh7v+h8tMaFrI+7ZUy5QlczU1GCMQfVLWzAHNK q6SQ81a+s2PWFrVsoaC02DZ/Ty32/7GhXDhqVkfqj/UuSlu4mRt2ARAlFrYAYJ21XBmi sDOyX/WuFxS/U3oZtdaUcGutcORnh2etBoSZal2UJfYSjNg8YYDvZxT1k5uHjp08CHQF j/ruzbKebmnwYwMTQo4PyeYo4vQxnh0R1EgFGKm5BTMHQ3Bg7sS2/eb0NK5PzX4iz46g bEdQ== X-Gm-Message-State: AG10YOQhFm+t2SwlzIF21kH8vtPVDRlnsrkAO0m16beXS0h8vPqgibP4jPBdZNh+/2GY7XAyz9D7iJWISJl7XQ== X-Received: by 10.50.150.38 with SMTP id uf6mr4641331igb.42.1455029303218; Tue, 09 Feb 2016 06:48:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.38.83 with HTTP; Tue, 9 Feb 2016 06:47:43 -0800 (PST) In-Reply-To: <961B600BF0C94937844621CB3C800690@erratique.ch> References: <4B26262D14BF4F84831E38B7A65B3B14@erratique.ch> <961B600BF0C94937844621CB3C800690@erratique.ch> From: Gabriel Scherer Date: Tue, 9 Feb 2016 09:47:43 -0500 Message-ID: To: =?UTF-8?Q?Daniel_B=C3=BCnzli?= Cc: OCaml List Content-Type: multipart/alternative; boundary=001a1136c6bec19b02052b5768cd Subject: Re: [Caml-list] ocamlbuild, build a source that starts with _ --001a1136c6bec19b02052b5768cd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Well, it is still possible to work around this issue by re-doing the slurping from the plugin: https://gitlab.com/gasche-snippets/ocamlbuild-underscored-files/blob/master= /myocamlbuild.ml I wouldn't mind removing that test from future ocamlbuild releases -- as of now I don't see any problem with "_oasis" or other "_tags" file being considered parts of the build tree. On Tue, Feb 9, 2016 at 9:45 AM, Daniel B=C3=BCnzli wrote: > Le mardi, 9 f=C3=A9vrier 2016 =C3=A0 14:35, Daniel B=C3=BCnzli a =C3=A9cr= it : > > Hello, > > > > It seems I can't convince ocamlbuild to build (i.e. copy) a source that > starts with `_`. > > Is there a workaround ? > > I guess this must be due to this line (though I have to admit that I have > hard time to understand ocamlbuild's convoluted control flow). > > https://github.com/ocaml/ocamlbuild/blob/master/src/main.ml#L150 > > so the answer seems to be no, which is quite annoying. > > Daniel > > > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > --001a1136c6bec19b02052b5768cd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Well, it is still possible to work around this issue = by re-doing the slurping from the plugin:

=C2=A0 https://gitlab.com/gasche-snippets/ocamlbuild-underscored-files/b= lob/master/myocamlbuild.ml

I wouldn't mind removing th= at test from future ocamlbuild releases -- as of now I don't see any pr= oblem with "_oasis" or other "_tags" file being conside= red parts of the build tree.

On Tue, Feb 9, 2016 at 9:45 AM, Daniel B=C3=BCnzli <daniel.buenzli@erratique.ch> wrote:
Le mardi, 9 f=C3=A9vrier 2016 =C3=A0 14:= 35, Daniel B=C3=BCnzli a =C3=A9crit :
> Hello,
>
> It seems I can't convince ocamlbuild to build (i.e. copy) a source= that starts with `_`.
> Is there a workaround ?

I guess this must be due to this line (though I have to admit that I= have hard time to understand ocamlbuild's convoluted control flow).

https://github.com/ocaml/ocamlbuild/= blob/master/src/main.ml#L150

so the answer seems to be no, which is quite annoying.

Daniel



--
Caml-list mailing list.=C2=A0 Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocam= l_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

--001a1136c6bec19b02052b5768cd--