diff options
Diffstat (limited to 'scripts/t/mk/vendor.mk')
-rw-r--r-- | scripts/t/mk/vendor.mk | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/scripts/t/mk/vendor.mk b/scripts/t/mk/vendor.mk index 4e0d9ff..9d89f0f 100644 --- a/scripts/t/mk/vendor.mk +++ b/scripts/t/mk/vendor.mk @@ -1,6 +1,17 @@ include $(srcdir)/mk/vendor.mk -test: - test "$(DEB_VENDOR)" = "Debian" - test "$(DEB_PARENT_VENDOR)" = "" +TEST_DEB_VENDOR = Debian +TEST_DEB_PARENT_VENDOR = + +test_vars := \ + DEB_VENDOR \ + DEB_PARENT_VENDOR \ + # EOL + +test: $(test_vars) + : # Test the dpkg_vendor_derives_from macro. test "$(shell $(call dpkg_vendor_derives_from,debian))" = "yes" + +$(test_vars): + : # Test $@ Make variable. + test '$($@)' = '$(TEST_$@)' |