From c0c754e7f28b749de49ac71299819582c75a6bbc Mon Sep 17 00:00:00 2001 From: Ryan Niebur Date: Fri, 29 May 2009 01:12:09 -0700 Subject: [PATCH] if there isn't a config file for a distribution, use Debians --- debian/rules | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 1f9544f4..c9ea3429 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,11 @@ 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 $@