On Wed, Sep 28, 2016 at 4:14 PM, Jan Engelhardt
On Wednesday 2016-09-28 16:05, Roger Oberholtzer wrote:
Not bogus at all. It is perfect Makefile syntax No problem. It works. I can understand if this is not an intended or expected usage. But it is fully functional.
I just gave you an example why it does not work, but of course you can keep telling yourself that "fully functional" lie all day long if it pleases you. Good day, sir.
PRETTY_NAME works on 12.3, 13.1, 42.1 and Tumbleweed. Which are the platforms I compile for. (And cross compile with mingw for Windows 32- and 64- bit). As does the rest of the file. Of course, if a $$ is put somewhere I may have a problem. But wouldn't that be the same if the files is read in to a bash script? The /etc/os-release files I see look like this: 12.3 NAME=openSUSE VERSION="12.3 (Dartmouth)" VERSION_ID="12.3" PRETTY_NAME="openSUSE 12.3 (Dartmouth) (i586)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:12.3" 13.1 NAME=openSUSE VERSION="13.1 (Bottle)" VERSION_ID="13.1" PRETTY_NAME="openSUSE 13.1 (Bottle) (i586)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:13.1" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse" 42.1 VERSION="42.1" VERSION_ID="42.1" PRETTY_NAME="openSUSE Leap 42.1 (x86_64)" ID=opensuse ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:opensuse:42.1" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://opensuse.org/" ID_LIKE="suse" Tumbleweed # VERSION="20160913" ID=opensuse ID_LIKE="suse" VERSION_ID="20160913" PRETTY_NAME="openSUSE Tumbleweed" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:tumbleweed:20160913" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" Sorry to report that it works for me. The earlier /etc/SuSE-release was problematic in that all lines were not var=value. I used $[shell grep ...) in the makefile fo get the info I wanted. When/if I encounter a problem, I can take action. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org