chiark / gitweb /
tests: Test Perdir.sd.mk
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 25 Dec 2019 19:21:51 +0000 (19:21 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 29 Dec 2019 16:04:44 +0000 (16:04 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/filter/Perdir.sd.mk [new file with mode: 0644]
tests/filter/Subdir.mk.expected
tests/filter/main.mk.expected
tests/filter/sub/dir/Subdir.mk.expected

diff --git a/tests/filter/Perdir.sd.mk b/tests/filter/Perdir.sd.mk
new file mode 100644 (file)
index 0000000..0bc254d
--- /dev/null
@@ -0,0 +1 @@
+# Perdir in &.
index 4f771c2..b112441 100644 (file)
@@ -1,6 +1,7 @@
 # autogenerated - do not edit
 # test cases for generate script
 # doctests:
+# Perdir in .
 
 all:: $(TOP_TARGETS) sub/all
 sometarget1:: $(TOP_TARGETS_sometarget1) sub/sometarget1
index 33dfe34..4a4779f 100644 (file)
@@ -6,6 +6,7 @@ MAKEFILE_TEMPLATES :=
 SUBDIRMK_MAKEFILES += Subdir.mk
 SUBDIRMK_MAKEFILES += sub/Subdir.mk
 SUBDIRMK_MAKEFILES += sub/dir/Subdir.mk
+MAKEFILE_TEMPLATES += ./Perdir.sd.mk
 MAKEFILE_TEMPLATES += ./Subdir.sd.mk
 MAKEFILE_TEMPLATES += ./doctest.sd.mk
 MAKEFILE_TEMPLATES += ./sub/dir/Subdir.sd.mk
index fbf813f..e5aadc2 100644 (file)
@@ -10,6 +10,7 @@ sub_dir_TARGETS_sometarget2
 line joining
 
 # doctests:
+# Perdir in sub/dir
 
 sub/dir/all:: $(sub_dir_TARGETS)
 sub/dir/sometarget1:: $(sub_dir_TARGETS_sometarget1)