Re: gitweb.js build mistake
- From
Thorsten Glaser <tg@debian.org>
- Date
- Feb 28, 2025, 06:34 UTC
- Message-ID
- <175d9d3d-6e75-3348-6037-f1c774fc0d0c@debian.org>
- In-Reply-To
- <fc549e53-c3b1-4aaa-b027-19d8dae2f3a6@hogyros.de>
On Fri, 28 Feb 2025, Simon Richter wrote:
> Would an order-only dependency also work? > > $(MAK_DIR_GITWEB)static/gitweb.js: | $(MAK_DIR_GITWEB)generate-gitweb-js.sh
Erk, that’s a gmake-ism. I have no idea, possibly. As a BSD make person I consider use of $^ in nōn-suffix rules generally often problematic…
Perhaps test if it indeed works; if it does, choose by whatever is the project-desired style.
Thanks, //mirabilos
--
11:56⎜«liwakura:#!/bin/mksh» also, i wanted to add mksh to my own distro │
i was disappointed that there is no makefile │ but somehow the Build.sh is
the least painful built system i've ever seen │ honours CC, {CPP,C,LD}FLAGS
properly │ looks cleary like done by someone who knows what they are doing