[pacman-dev] [PATCH 2/2] meson: add toplevel target to create the website

Eli Schwartz eschwartz at archlinux.org
Mon Jan 14 03:38:30 UTC 2019


On 1/13/19 10:18 PM, Allan McRae wrote:
> On 13/1/19 11:17 pm, Dave Reisner wrote:
>> On Sat, Jan 12, 2019 at 09:15:01PM -0500, Eli Schwartz wrote:
>>> Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
>>> ---
>>
>> This is really just an alias, right? To match what autotools does? Does
>> anyone actually care about this? Might it be better to just rename the
>> existing target to 'website' instead?
> 
> That seems the least redundant approach.

The existing target is specifically a file target, it's a command to
create output. It only exists as:

ninja doc/website.tar.gz

The website target is a toplevel pseudo-target, you can run it directly
from the build tree and it will depend on the tarball being up to date
rather than always rerunning bsdtar. I don't like the idea of turning
the whole thing into one always-rebuilding pseudo-target.

-- 
Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1601 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20190113/c295a52a/attachment.asc>


More information about the pacman-dev mailing list