File: abspath.mk

package info (click to toggle)
android-platform-build-kati 10.0.0%2Br32%2Bgit20220314.09dfa26c4e59-7.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,628 kB
  • sloc: cpp: 10,340; sh: 1,087; python: 85; makefile: 46
file content (6 lines) | stat: -rw-r--r-- 190 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
foo = $(subst /kati,,$(subst /make,,$(abspath ./foo bar/../foo bar//..//foo / /usr)))
bar = $(subst /kati,,$(subst /make,,$(abspath .. ./. ./ /aa/.. a///)))

test:
	echo $(foo)
	echo $(bar)