Created
August 22, 2016 15:39
-
-
Save terryburton/eb78f283c8aed64444753cb41482e1de to your computer and use it in GitHub Desktop.
FR process debian/control.in in debian/rules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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