From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 06F7F7B52E for ; Wed, 25 Dec 2019 06:05:55 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id f129so4398940wmf.2 for ; Wed, 25 Dec 2019 06:05:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=deQSQnyXhZ0YW0UIS+9zqA4mwwtrrZjkGunN+zi2U6Q=; b=FO994/otO5iVkimY36M3+0CbO9bk03LPZQq3dCenK4ZQ0j6a6Go/pQQ3vcMmkqDuJY dgNlVSKV7e9iftWkb/GZQ4ptrS0M0kKEJDIlbvUhw17MBxc2Kt4ekiSk2ulPbgmzLXdQ c/TylLpEKdVuN+9xcFdt+W6GUcocQ9+SasRt4ZQBYTHKWKPGsVer2nBnVUfVhkMc96a9 FC+nq6rAfwjk/1osOoqRaiIs3omJFJAW2EmMFX2c5ZT8CBurJdgM/Pen/odpEBgn/xAx 9zk43ukswM47z5nYX1aPkeATd7aX8cSVsY0j9IMaN4EUmUC7DOytJpW0lmnoH/EMaE+f tHdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=deQSQnyXhZ0YW0UIS+9zqA4mwwtrrZjkGunN+zi2U6Q=; b=rVrsCJLfhkkakBit58KW0Od8+ll2aDQ1Wu+4WFguz/J18a2gNzD5Ej0CryShN4xwlf SOw6G4LgZ+Gj4jy5RF6tJ8a4a9e6XVIpiPCAui6LQFEEE0sCFrGUDfbiH0DZZ8eUPtil B1XBSB1gv37edFuTypQYa2BsFDupnUSe725uY+Alm2O8QGQFdKJ3GePhSFQwtHMN4h5I eSi9v18whTrCjBmqSpoY9RlAG5ZoyxFEOLfiU+nsMEGczSnhPV1GhP8V0zzekboUnG/y UgXqNttmGKjxR+4LIZaVVrHIYbwf4jwxRUAPGUYdsC/01bqxcNYQITuRaoLMVN4ZX068 A4gw== X-Gm-Message-State: APjAAAVn/INx4R/cPRvf8iBm2p/+sNCbWQDhgiIdyoDsrjtbll+DUt5u V5sXcQuW7OIEp3gyIj1INFMwmAKf X-Google-Smtp-Source: APXvYqyOHddNwDbeKS3+8V/BEInnx9pprNWb7W1w9xuZdg5EDsg/v6YmPYAbTWzLGodF2XTUwDvNOA== X-Received: by 2002:a1c:14e:: with SMTP id 75mr9683332wmb.123.1577282753682; Wed, 25 Dec 2019 06:05:53 -0800 (PST) Received: from toaster ([86.9.161.187]) by smtp.gmail.com with ESMTPSA id s16sm27861800wrn.78.2019.12.25.06.05.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Dec 2019 06:05:53 -0800 (PST) Date: Wed, 25 Dec 2019 14:05:51 +0000 From: Adam Thompson To: Dominique Martinet Cc: edbrowse-dev@edbrowse.org Subject: Re: [edbrowse-dev] documentation respecting install prefix in cmake Message-ID: <20191225140551.GB93806@toaster> References: <20191225133640.GA74927@toaster> <20191225134715.GA11932@nautica> X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191225134715.GA11932@nautica> On Wed, Dec 25, 2019 at 02:47:15PM +0100, Dominique Martinet wrote: > Adam Thompson wrote on Wed, Dec 25, 2019: > > Currently the documentation seems to unconditionally install under > > /usr/share/doc and the manpage under /usr/share/man/man1 dispite the fact > > that I specified the install prefix as /usr/local to avoid any issues with > > packages. > > That is more of a bug than documentation issue, it looks like UnixManDir > and UnixDocDir are hard-coded to /usr/share/... and do not use > ${CMAKE_INSTALL_PREFIX} > > Would probably need to add a check if it is set and use it then... Yes, sorry, I wasn't as clear as I should've been in the subject line. I think we do something like this for install prefix. I'd write the patch but, as I said, my cmake knowledge is rather close to non-existent unfortunately.