r8174: fix os detection
authorKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 12 Nov 2003 16:33:56 +0000 (16:33 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Wed, 12 Nov 2003 16:33:56 +0000 (16:33 +0000)
doc/Makefile

index b1dfa5e6f5a019036eec19a21c3b4ffa6b48fb23..0e03e00aef0975e38a6d3a6a6390936d20dc510f 100644 (file)
@@ -21,9 +21,9 @@ DOCFILE_EXT_DEFAULT:=xml
 
 # Standard docfile processing
 
-DEBIAN=expr "`cat /etc/issue`" : '.*Debian.*'
-SUSE=expr "`cat /etc/issue`" : '.*SuSE.*'
-REDHAT=expr "`cat /etc/issue`" : '.*RedHat.*'
+DEBIAN=$(shell expr "`cat /etc/issue`" : '.*Debian.*')
+SUSE=$(shell expr "`cat /etc/issue`" : '.*SuSE.*')
+REDHAT=$(shell expr "`cat /etc/issue`" : '.*RedHat.*')
 
 ifneq (${DEBIAN},0)
 OS:=debian