From 8dd2da0415a98b39c0c3ef64a85e1c321a0f4e35 Mon Sep 17 00:00:00 2001 From: Nathan Bird Date: Tue, 2 Mar 2010 12:11:06 -0500 Subject: [PATCH] Building doc: recognize ubuntu as being a stand in for debian. --- doc/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/Makefile b/doc/Makefile index 25c1452..59a524b 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -26,6 +26,7 @@ SUSE91=$(shell expr "`cat /etc/issue 2> /dev/null`" : '.*SuSE Linux 9.1.*') REDHAT=$(shell expr "`cat /etc/issue 2> /dev/null`" : '.*Red Hat.*') MANDRAKE=$(shell expr "`cat /etc/issue 2> /dev/null`" : '.*Mandrake.*') DARWIN=$(shell expr "`uname -a`" : '.*Darwin.*') +UBUNTU=$(shell expr "`cat /etc/issue 2> /dev/null`" : '.*Ubuntu.*') ifneq (${DEBIAN},0) @@ -45,6 +46,10 @@ else else ifneq (${DARWIN},0) OS=darwin + else + ifneq (${UBUNTU},0) + OS:=debian + endif endif endif endif -- 2.34.1