From nobody Fri May 28 07:32:13 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BA899CF9E4A for ; Fri, 28 May 2021 07:32:41 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FrxGx4ZJKz4Y4t for ; Fri, 28 May 2021 07:32:41 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-lj1-f180.google.com with SMTP id a4so4036108ljd.5 for ; Fri, 28 May 2021 00:32:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+GvQqTpYYYqqfFUqj1eKjCVR2D2i2uDcO0+5UOHAz7M=; b=sVMkXEWFkGwBxMqIaZy/jJ9mG3JeJpKUeX9HLmyenuQP4Gzn0ScxvWl/gyvtiKkIDx LzXolnCxA6q81Cb/oKb8V6osTvWr3IfUTkJGpsBgoC39rQJyeL6x9QLQV0Jv8h5olwYm T7eYHQfrnWdFX2gnNB+dyBTV71no8kcN2LQF+x63HobMilwpTmqwjMwAbgny1MQULj3I 96YHhRLxELbeS7Sm+tOy2oB0jQXsa4lG7MfjiqUio4WX/jUjXZoJiUWorFIHxQJ2PvZi yYjhRGyni47Nnzc3tS8KYTWIih/XhgrB10rL5DO1rqkmbuo1TLHG6VwCND9aCv9+o9Je cviQ== X-Gm-Message-State: AOAM530r0MkeBs5pD1S0gW0x5b9eaurB7MRjRcjy1egctv5ZTcQWCJYT Lm30vv+P75/QI7Zt2xWhdvX6dAve9K7zig== X-Google-Smtp-Source: ABdhPJwkK3/tw34f7ks1H047vJXdGn/fLWsWKUBh3STIeSz8IKDn+63jy9265zNJS3hgAz8klF7wMg== X-Received: by 2002:a2e:8717:: with SMTP id m23mr5654746lji.161.1622187159635; Fri, 28 May 2021 00:32:39 -0700 (PDT) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com. [209.85.208.177]) by smtp.gmail.com with ESMTPSA id 26sm450172ljv.140.2021.05.28.00.32.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 May 2021 00:32:39 -0700 (PDT) Received: by mail-lj1-f177.google.com with SMTP id t17so4020434ljd.9 for ; Fri, 28 May 2021 00:32:39 -0700 (PDT) X-Received: by 2002:a2e:545b:: with SMTP id y27mr5555188ljd.8.1622187159279; Fri, 28 May 2021 00:32:39 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 References: <78bc1f34-ea47-a5b2-e9d6-4b4f1a218a51@groumpf.org> In-Reply-To: <78bc1f34-ea47-a5b2-e9d6-4b4f1a218a51@groumpf.org> From: Gleb Popov Date: Fri, 28 May 2021 10:32:13 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Ports Makefile rules install vs do-install To: Xavier Humbert Cc: FreeBSD Ports ML Content-Type: multipart/alternative; boundary="000000000000635e6405c35ee19b" X-Rspamd-Queue-Id: 4FrxGx4ZJKz4Y4t X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --000000000000635e6405c35ee19b Content-Type: text/plain; charset="UTF-8" On Fri, May 28, 2021 at 10:24 AM Xavier Humbert wrote: > The problem is : > * target "do-install" is not invoked if I call make install. > * calling manually "make do-install" stages the port correctly. > * if I rename this target to "install", it complains about > "work/rudder-agent-6.2.7/Makefile" missing, despite the flag NO_BUILD= yes > * the pkg-plist is conform > * however, the target "do-test" is correctly called by "make test" > > I've carefully read the Porter's Handbook, and can't see where my > mistake is. I'm not a Makefile guru. > > Thanks for help, > > Regards, > > Xavier > > -- > Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer > https://www.amdh.fr > Do you have .include at the end of your Makefile? --000000000000635e6405c35ee19b--