summaryrefslogtreecommitdiffstats
path: root/scripts/t/mk/buildapi.mk
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/t/mk/buildapi.mk')
-rw-r--r--scripts/t/mk/buildapi.mk13
1 files changed, 11 insertions, 2 deletions
diff --git a/scripts/t/mk/buildapi.mk b/scripts/t/mk/buildapi.mk
index 96269bc..6ac92f9 100644
--- a/scripts/t/mk/buildapi.mk
+++ b/scripts/t/mk/buildapi.mk
@@ -1,4 +1,13 @@
include $(srcdir)/mk/buildapi.mk
-test:
- test "$(DPKG_BUILD_API)" = "0"
+TEST_DPKG_BUILD_API = 0
+
+test_vars := \
+ DPKG_BUILD_API \
+ # EOL
+
+test: $(test_vars)
+
+$(test_vars):
+ : # Test $@ Make variable.
+ test '$($@)' = '$(TEST_$@)'