Syntax error in Makefile for "make install"

Aug. 31, 2000
9:56 p.m.
Makefile in the libainstall target of "make install" uses the following construct: @if [ "$(MACHDEP)" == "beos" ] ; then \ This "==" is illegal in all the /bin/sh's I have lying around, and leads to make failing with: /bin/sh: test: unknown operator == make: *** [libainstall] Error 1 -- Mark

August 2000
10:01 p.m.
Mark Favas writes:
Makefile in the libainstall target of "make install" uses the following construct: @if [ "$(MACHDEP)" == "beos" ] ; then \ This "==" is illegal in all the /bin/sh's I have lying around, and leads to make failing with: /bin/sh: test: unknown operator == make: *** [libainstall] Error 1
Fixed; thanks! -Fred -- Fred L. Drake, Jr. <fdrake at beopen.com> BeOpen PythonLabs Team Member
9054
Age (days ago)
9054
Last active (days ago)
1 comments
2 participants
participants (2)
-
Fred L. Drake, Jr.
-
Mark Favas