From owner-freebsd-doc@freebsd.org Wed Jun 20 01:13:06 2018 Return-Path: Delivered-To: freebsd-doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61228101B469 for ; Wed, 20 Jun 2018 01:13:06 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EA7527F867 for ; Wed, 20 Jun 2018 01:13:05 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mailman.ysv.freebsd.org (Postfix) id A1F75101B467; Wed, 20 Jun 2018 01:13:05 +0000 (UTC) Delivered-To: doc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 67BC1101B466 for ; Wed, 20 Jun 2018 01:13:05 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yb0-x241.google.com (mail-yb0-x241.google.com [IPv6:2607:f8b0:4002:c09::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF2687F862 for ; Wed, 20 Jun 2018 01:13:04 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mail-yb0-x241.google.com with SMTP id m199-v6so203885ybm.9 for ; Tue, 19 Jun 2018 18:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=VBcF41hykr0FejnEfh/B0317tKr9UUbgJaXgBDiu47g=; b=dIf2BNbzPVrKrxkMuPheJ5NTTZV94I/7UsKviw8rmFJMw/yEayb8KBkcntgnPCNLyh PLQiffq6dCVV/LDZ+1MhJ+6HBMdc5WGr9ocmTAhQ/kE0cJXqEnKH+5ihbJqjiPVGn1sA wHpogT7DG24G3t59i++ZKGUEdxmh/gRMVCrfE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=VBcF41hykr0FejnEfh/B0317tKr9UUbgJaXgBDiu47g=; b=h1fm0zVUyhzQQa49Ep9o7OPqtehP8aS5d+89vfux6Q6EuRfEn5jH7cOnJufzoV4xJ4 t5Igz+WGDJ/y5vIaJJhHdbpu718dzqnMQ5mpCTfz8qnVYAtRw/5G/uvOaxO+EazDmdYC 5iEOujtyCcCDEvJtoiXFuvZM4rESOOoP9i4XllYSZSPRhiCbTpZF2lBUX8jiHLgOErxe 5IZ4mgsvIgu0yXDEw+PKQwGhML3pIEUVon9WC+2cPwJv4fE/8rn7lwLCpUozLsrV5Wj5 tLvzq1WqC76Ruqnzq4RoCQzhKkc1YCRhQTThByq5ubUSPBf5+AMt3MEDW8y5TuMxN6lN 9KBg== X-Gm-Message-State: APt69E12wWuRFOepHdP6z61chlIIh8c7XTZt60qXu0hiXd+k21Hj4VoI K6MjC5dZT5sfjOzHSNG2aZVXZgBSH8Kebh9+W4kvtg== X-Google-Smtp-Source: ADUXVKKaadN6gatNqNxafABB2akoWTYoyqXzDWFyErH7QyRl06hchV8rdPNT056/1PaeqRZNgwn/80EgohFEtjJ63ao= X-Received: by 2002:a25:786:: with SMTP id 128-v6mr9977780ybh.338.1529457183612; Tue, 19 Jun 2018 18:13:03 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:ef50:0:0:0:0:0 with HTTP; Tue, 19 Jun 2018 18:12:32 -0700 (PDT) In-Reply-To: References: From: Eitan Adler Date: Tue, 19 Jun 2018 18:12:32 -0700 Message-ID: Subject: Re: why does "make install" write to files outside of DESTDIR ? To: FBSD Doc project Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2018 01:13:06 -0000 On 13 June 2018 at 05:21, Eitan Adler wrote: > Steps to reproduce: > > rm -rf /srv/www/devbox/ > mkdir /srv/www/devbox/ > env DESTDIR=/srv/www/devbox/docs/docs make -s all install > > Expected behavior: no files are written to outside of /srv/www/devbox/docs/docs > Actual behavior: /srv/www/devbox/articles and /srv/www/devbox/books exist > > Why is this? Is there some way to avoid this? anyone? This is particularly annoying when testing subsets of documentation. Is there any variable to set that will work similarly to MAKEOBJIRPREFIX from src? I'd like to run "make install" from a doc directory and have it install to the "expected" place so that browsing documentation from the webserver still works. -- Eitan Adler