Good question, I was vague before because I couldn't remember the variables for it.
Looks like one thing you can do is:
include /usr/share/dpkg/default.mk
ifeq (Ubuntu,$(DEB_VENDOR)) ifeq (vivid,$(DEB_DISTRIBUTION)) XXX endif endif
(stolen from php7.0)
Good question, I was vague before because I couldn't remember the variables for it.
Looks like one thing you can do is:
include /usr/share/ dpkg/default. mk
ifeq (Ubuntu, $(DEB_VENDOR) ) $(DEB_DISTRIBUT ION))
ifeq (vivid,
XXX
endif
endif
(stolen from php7.0)