Correct executable name on posix operating systems.

Wed, 01 Apr 2009 18:31:56 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 01 Apr 2009 18:31:56 +0200
changeset 128
f64e7bdded52
parent 127
1706cab8c621
child 129
9722a72b8fa1

Correct executable name on posix operating systems.

haxe/haxe.spec file | annotate | diff | comparison | revisions
mtasc/mtasc.spec file | annotate | diff | comparison | revisions
     1.1 --- a/haxe/haxe.spec	Wed Apr 01 18:30:28 2009 +0200
     1.2 +++ b/haxe/haxe.spec	Wed Apr 01 18:31:56 2009 +0200
     1.3 @@ -75,6 +75,14 @@
     1.4          -e "s;\(let c_opts = .*-ccopt\);\1 -I %{l_prefix}/include;" \
     1.5          -e "s;\(let c_opts = .* else \"\);\1 -I %{l_prefix}/include;" \
     1.6          haxe/doc/install.ml
     1.7 +
     1.8 +    %{l_shtool} subst \
     1.9 +        -e 's;haxe.exe;haxe;g' \
    1.10 +        haxe/doc/release.neko \
    1.11 +        haxe/doc/setup.cpp \
    1.12 +        haxe/haxe.vcproj \
    1.13 +        haxe/main.ml
    1.14 +
    1.15      %{l_prefix}/bin/ocaml haxe/doc/install.ml
    1.16  
    1.17  %install
     2.1 --- a/mtasc/mtasc.spec	Wed Apr 01 18:30:28 2009 +0200
     2.2 +++ b/mtasc/mtasc.spec	Wed Apr 01 18:31:56 2009 +0200
     2.3 @@ -71,6 +71,10 @@
     2.4          -e "s;\(let c_opts = .*-ccopt\);\1 -I %{l_prefix}/include;" \
     2.5          -e "s;\(let c_opts = .* else \"\);\1 -I %{l_prefix}/include;" \
     2.6          install.ml
     2.7 +    %{l_shtool} subst \
     2.8 +        -e 's;mtasc.exe;mtasc;g' \
     2.9 +        ocaml/mtasc/mtasc.dsp \
    2.10 +        ocaml/mtasc/main.ml
    2.11  
    2.12  %build
    2.13      %{l_prefix}/bin/ocaml install.ml

mercurial