if there isn't a config file for a distribution, use Debians
This commit is contained in:
parent
73942d7b17
commit
c0c754e7f2
1 changed files with 5 additions and 1 deletions
6
debian/rules
vendored
6
debian/rules
vendored
|
@ -2,7 +2,11 @@
|
||||||
|
|
||||||
CMD=$(shell echo $@ | sed 's/override_//')
|
CMD=$(shell echo $@ | sed 's/override_//')
|
||||||
|
|
||||||
CONFIG_FILE=debian/config/$(shell lsb_release -is).h
|
DISTRO=$(shell lsb_release -is)
|
||||||
|
CONFIG_FILE=debian/config/$(DISTRO).h
|
||||||
|
ifneq (0, $(shell test -e $(CONFIG_FILE); echo "$$?"))
|
||||||
|
CONFIG_FILE=debian/config/Debian.h
|
||||||
|
endif
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh --with quilt $@
|
dh --with quilt $@
|
||||||
|
|
Loading…
Reference in a new issue