mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] how to escape $ in a rule ?
@ 2014-06-20 13:05 marc doz
  2014-06-20 13:08 ` Alexander Aring
  2014-06-20 13:37 ` Michael Olbrich
  0 siblings, 2 replies; 7+ messages in thread
From: marc doz @ 2014-06-20 13:05 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 593 bytes --]

Hello,


I’m writing a recipe & I’m using install_copy & install_tree function in my
recipe foo.make

$(call install_copy, foo, 0, 0, 0755, $(FOO_DIR)/AAA/foo$1.bar,
/AAA/foo$1.bar)

$(call install_tree, foo, 0, 0, 0755, $(FOO_DIR)/AAA/, /AAA/)


I would like to avoid the substitution of $1 because the file name that I
would like embed is really foo$1.bar  & ptxdist try to copy foo.bar with
install_copy & install_tree..


Do you know  a way for escaping the $ ?


$$ don’t seem work


Thank you for your attention


#ptxdist version

2012.03.0


Marc

[-- Attachment #1.2: Type: text/html, Size: 1098 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-06-23 13:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-20 13:05 [ptxdist] how to escape $ in a rule ? marc doz
2014-06-20 13:08 ` Alexander Aring
2014-06-20 13:15   ` marc doz
2014-06-20 13:37 ` Michael Olbrich
2014-06-20 13:52   ` marc doz
2014-06-23 11:46     ` marc doz
2014-06-23 13:20       ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox