From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 44BA27B1DB for ; Thu, 26 Dec 2019 12:31:55 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id g17so24468767wro.2 for ; Thu, 26 Dec 2019 12:31:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=geoffair-info.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=wPuoPAHoaqzOYIBCi8o4x1Zo3mR7okZo2sWeAeiLe2o=; b=gflJkQEdPf2j4/rlnqK3krFBDCJvcJjPit02aVUt68kAhoS3OzsUESljJMvFC1qbT9 iqC3bjUXPRuqa3zlQY5TtFJUGNdIV3RIZaQf0jksmcAbznIPlJXO97WqCAfDx+zOBKfo ibXq7MuH//ZGHM+iGlsNgMoZiTv3jThgJ8oo764M6mYuqD2SA5KMHJpcQerqOTWmfkNF PLIMS9OUzAGHXOINa22ZDrFh8Oxeqo59pQL1EutxzcDWlNu3Iiya5RcKCpRbbuI0vwLJ qj1cXrIoxtKAI3THaZ4AtS68PQYex2u6LUzJq3JJTp0YYOcXoGrCXnnoTMSw19UdR23J sgfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=wPuoPAHoaqzOYIBCi8o4x1Zo3mR7okZo2sWeAeiLe2o=; b=hk9j4CvD3mZCUfuPhdAoxNxd/S6uKasd+p3GZ4Y4UYgqZn5Hpv/NnX64+mWq5gSwdk lhAMrDQ8CAqd35NUBpRxemrYITgsY7QZdbK0tJh9W9J24FeOLkQ8vcuodiqxWo2Viugv R4I0QnVw8ZWp0QQ5mLNcBH8GSWgQqtBUaQ1onCqrP8ovL1y/lvvZNSD8NqfFTnzVxlL5 5uk44FWiUQEeXBWfldEiqTDmmU47C1/pXz/CoOrDcgb66yWci49LDsk/kEmysc9tM5H3 fzbfCpxT86C5H/dAOt8nhjuUdOd74oBVr6UkEuo46r0iJ/d5L7JtaaDwToD3X1l7dto4 MQJA== X-Gm-Message-State: APjAAAVMEm3e374eIWatg/WpO7vfkGYV7Mjnlu24PmKc77d9Ol0jmkJP gCwk6CI+YBO//QhlhzeiDunV8LPyMPc= X-Google-Smtp-Source: APXvYqz5ZzAN36RW/4N4Hsb9EcYeZYO504rLPQE8S/DOhOHwGVQD46+PUdJiDsNTlHV7+0ki3Xt1xQ== X-Received: by 2002:adf:806e:: with SMTP id 101mr48869549wrk.300.1577392313139; Thu, 26 Dec 2019 12:31:53 -0800 (PST) Received: from ?IPv6:2a01:cb04:4ba:c500:1558:68bd:5027:42fd? (2a01cb0404bac500155868bd502742fd.ipv6.abo.wanadoo.fr. [2a01:cb04:4ba:c500:1558:68bd:5027:42fd]) by smtp.googlemail.com with ESMTPSA id i8sm32122157wro.47.2019.12.26.12.31.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Dec 2019 12:31:52 -0800 (PST) Subject: Re: [edbrowse-dev] documentation respecting install prefix in cmake To: Adam Thompson Cc: Dominique Martinet , edbrowse-dev@edbrowse.org References: <20191225133640.GA74927@toaster> <20191225134715.GA11932@nautica> <20191225140551.GB93806@toaster> <20191225162952.GA2846@nautica> <9247904b-0fb1-95c4-18cb-86f279dbfc98@geoffair.info> <20191226184323.GA4808@toaster> From: Geoff McLane Message-ID: <460ad829-de45-7788-f776-bcd37c65a0de@geoffair.info> Date: Thu, 26 Dec 2019 21:31:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List MIME-Version: 1.0 In-Reply-To: <20191226184323.GA4808@toaster> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Hi Dominique, Adam, What was I thinking... I am out of my depth... me, offer UNIX suggestion... ha, ha,... But I do use cmake all-the-time, as my preferred cross-os build system generator... And Adam, certainly agree with "it's almost always a good idea to keep packaged and unpackaged software from playing with each other's installed files."... In a way that's why my build-me.sh is set to /NOT/ touch a dpkg install... I started to look around at various other projects I can compile with CMake... find a lot of sometimes confusing, even contradictory... information... and all that I find do often define their own man or doc install directories... but generally each make it dependent on the root CMAKE_INSTALL_PREFIX... So Dominique, it seems the fix you have is good... will get to testing that... But other questions popped up... like... why do we have 2 slightly different UnixManFile... debian vs freebsd... are the man app implementations /SO/ different... in a quick review, seems they could be one... And they could use like @EDB_VERSION@, @VER_DATE@, etc... even say a @DOC_INSTALL@, for the usersguide.html pointer... etc... etc... It seems the cmake default CMAKE_INSTALL_PREFIX of "/usr/local" is generally agreed as the /ROOT/... So others components are "/ROOT/bin, lib, include" And then the man being "/ROOT/share/man/man1"... But it looks like some distros prefer "/ROOT/man/man1", which would also be ok in my Ubuntu debian based linux, in that there is a link "man -> share/man" ... must look in my Raspian RPI... Then the docs to "/ROOT/share/doc/"... But like I say, who am I to suggest anything in unix ;=)) Must have been too full of the Christmas cheer... As state, your patch looks like a good start... sorry for the noise... Regards, Geoff.