freebsd-dev/contrib/bmake/unit-tests/dir-expand-path.mk

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
484 B
Makefile
Raw Normal View History

# $NetBSD: dir-expand-path.mk,v 1.1 2020/08/22 21:55:54 rillig Exp $
#
# Tests for filename expansion in the search path.
_!= rm -rf dir-expand-path.dir.*
_!= mkdir dir-expand-path.dir.1
_!= mkdir dir-expand-path.dir.2
_!= touch dir-expand-path.dir.1/file1.src
_!= touch dir-expand-path.dir.1/file2.src
_!= touch dir-expand-path.dir.2/file3.src
.PATH: dir-expand-path.dir.1
.PATH: dir-expand-path.dir.2
all: *.src
@printf '%s\n' ${.ALLSRC:O}
.END:
@rm -rf dir-expand-path.dir.*