Codebase list sugar-toolkit-gtk3 / 1f9b171
Modernize CDBS use: Let CDBS resolve if build is targeted experimental. Jonas Smedegaard 7 years ago
1 changed file(s) with 2 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
4141 # * Switch git packaging branch
4242 # * Track any release (else only current branch)
4343 ifneq (,$(DEB_MAINTAINER_MODE))
44 experimental := $(strip $(if \
45 $(shell dpkg-parsechangelog \
46 | grep -x 'Distribution: \(experimental\|UNRELEASED\)'),\
47 yes))
48 watch-limit = $(if $(experimental),,$(pkgbranch)\\.)
49 debian-branch = $(if $(experimental),master,master-$(pkgbranch))
44 watch-limit = $(if $(DEB_SUITE_EXP),,$(pkgbranch)\\.)
45 debian-branch = $(if $(DEB_SUITE_EXP),master,master-$(pkgbranch))
5046 clean::
5147 perl -i -pe 's/\([\d.\\]*\.\*\)/($(watch-limit).*)/' \
5248 debian/watch