[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Conditional broken line in recipe
From: |
Alejandro Colomar |
Subject: |
Conditional broken line in recipe |
Date: |
Sun, 3 Sep 2023 01:00:59 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1 |
Hi!
Is something like this possible?
target:
foo \
ifeq (...)
| bar \
endif
| baz
I imagine I could get something similar, if I I used .ONESHELL:, but I
want to avoid it, as I'd need to redesign most of the rules.
.ONESHELL:
target:
foo |
ifeq (...)
bar |
endif
baz
Do you have any better alternatives?
Thanks,
Alex
--
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5
OpenPGP_signature
Description: OpenPGP digital signature
- Conditional broken line in recipe,
Alejandro Colomar <=
Re: Conditional broken line in recipe, Paul Smith, 2023/09/02