summaryrefslogtreecommitdiff
path: root/scripts/t/mk/vendor-v1.mk
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2018-11-27 04:05:09 +0100
committerGuillem Jover <guillem@debian.org>2019-01-15 04:49:03 +0100
commit91e2ae0b74d9efb47a5635466a8e0f0826c0a0e8 (patch)
tree8238c2a45f8aa292cd1f09037a45ff291436f41a /scripts/t/mk/vendor-v1.mk
parent37dd4ce62e0925967c59daec130540d2fa0402d6 (diff)
downloaddpkg-91e2ae0b74d9efb47a5635466a8e0f0826c0a0e8.tar.gz
scripts/mk: Add support for an improved dpkg_vendor_derives_from macro
Version the macros so that both can be used, and default the unversioned one to the version 0 macro.
Diffstat (limited to 'scripts/t/mk/vendor-v1.mk')
-rw-r--r--scripts/t/mk/vendor-v1.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/t/mk/vendor-v1.mk b/scripts/t/mk/vendor-v1.mk
new file mode 100644
index 000000000..11c1314ef
--- /dev/null
+++ b/scripts/t/mk/vendor-v1.mk
@@ -0,0 +1,6 @@
+include $(srcdir)/mk/vendor.mk
+
+dpkg_vendor_derives_from = $(dpkg_vendor_derives_from_v1)
+
+test:
+ test "$(call dpkg_vendor_derives_from,debian)" = "yes"