if there isn't a config file for a distribution, use Debians

This commit is contained in:
Ryan Niebur 2009-05-29 01:12:09 -07:00
parent 73942d7b17
commit c0c754e7f2

6
debian/rules vendored
View file

@ -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 $@