FR process debian/control.in in debian/rules
# Add libsystemd-dev to Build-Depends if it is known | |
ifeq ($(shell apt-cache policy libsystemd-dev &>/dev/null && echo yes),yes) | |
CONTROL_BUILDDEPS = libsystemd-dev, | |
endif | |
... | |
clean: | |
... | |
# Regenerate debian/control file with additional deps | |
sed -e 's/@BUILDDEPS@/$(CONTROL_BUILDDEPS)/g' \ | |
debian/control.in > debian/control.tmp | |
mv debian/control.tmp debian/control |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment