You can escape the :
URLS = https\://foo.example.com
URLS += https\://bar.example.com
URLS += https\://www.example.org
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
You can escape the :
URLS = https\://foo.example.com
URLS += https\://bar.example.com
URLS += https\://www.example.org
Ah...this explains why it works: https://savannah.gnu.org/bugs/?712#comment16
It's a new feature \o/
#TIL
@pnutzh4x0r @bahmanm@lemmy.ml I'm not at my desk now but I doubt it will work. Make has no notion of escaping as far as I know.
I just tried it with GNU make 4.3 and it worked.
Oh, it works 🎉 Thank you!
For posterity here's a complete example:
foo\:bar :
@echo $(@)
and then
$ make foo:bar
foo:bar
Though, TBH, I don't understand how this works 🤦♂️ I need to look into Make docs.
I didn't try yet: https://www.cmcrossroads.com/article/gnu-make-escaping-walk-wild-side
colon := :
$(colon) := :
url := https$(:)//something