From: Ryan Niebur Date: Fri, 29 May 2009 08:12:09 +0000 (-0700) Subject: if there isn't a config file for a distribution, use Debians X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0c754e7f28b749de49ac71299819582c75a6bbc;p=midori if there isn't a config file for a distribution, use Debians --- 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 $@