# Makefile snippet defining the following vendor-related variables: # # DEB_VENDOR: output of dpkg-vendor --query Vendor # DEB_PARENT_VENDOR: output of dpkg-vendor --query Parent (can be empty) # # The snippet also defines a macro "dpkg_vendor_derives_from" that you can # use to verify if the current vendor derives from another vendor with a # simple test like this one: # ifeq ($(call dpkg_vendor_derives_from ubuntu),yes) # ... # endif dpkg_late_eval ?= $(or $(value DPKG_CACHE_$(1)),$(eval DPKG_CACHE_$(1) := $(shell $(2)))$(value DPKG_CACHE_$(1))) DEB_VENDOR = $(call dpkg_late_eval,DEB_VENDOR,dpkg-vendor --query Vendor) DEB_PARENT_VENDOR = $(call dpkg_late_eval,DEB_PARENT_VENDOR,dpkg-vendor --query Parent) dpkg_vendor_derives_from = dpkg-vendor --derives-from $(1) && echo yes || echo no
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
abitable | File | 362 B | 0644 |
|
architecture.mk | File | 614 B | 0644 |
|
buildflags.mk | File | 1.55 KB | 0644 |
|
buildtools.mk | File | 1.74 KB | 0644 |
|
cputable | File | 1.92 KB | 0644 |
|
default.mk | File | 271 B | 0644 |
|
no-pie-compile.specs | File | 77 B | 0644 |
|
no-pie-link.specs | File | 65 B | 0644 |
|
ostable | File | 1.95 KB | 0644 |
|
pie-compile.specs | File | 97 B | 0644 |
|
pie-link.specs | File | 76 B | 0644 |
|
pkg-info.mk | File | 1.47 KB | 0644 |
|
tupletable | File | 1.33 KB | 0644 |
|
vendor.mk | File | 803 B | 0644 |
|