help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Flexible patsubst (add something in the middle)


From: Peng Yu
Subject: Flexible patsubst (add something in the middle)
Date: Sat, 3 Apr 2010 06:49:29 -0600

I want to add something to a number of string in the middle but not at
the ends. I made the following example (doesn't work). Could you
please let me know what is the most convenient to add something to the
middle of a number strings?

.PHONY: all

PDF=uuu/vvv.pdf xxx/yyy.pdf
TMP=$(patsubst %/%.pdf, %abc/%.pdf, $(PDF))

all:
        echo $(TMP)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]