0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

build: fix examples target paths

I 'broke' it in 78c362b. Sorry!
This commit is contained in:
Stefano Pigozzi 2014-10-04 11:46:51 +02:00
parent 78c362bfb8
commit d10b8c7e84

View File

@ -510,14 +510,14 @@ def build(ctx):
import os
# This assumes all examples are single-file (as examples should be)
examples_sources = [
( "DOCS/client_api_examples/simple.c" ),
( "DOCS/client_api_examples/cocoabasic.m", "cocoa" ),
( "simple.c" ),
( "cocoabasic.m", "cocoa" ),
]
for source in ctx.filtered_sources(examples_sources):
ctx(
target = os.path.splitext(source)[0],
source = source,
source = "DOCS/client_api_examples/" + source,
includes = [ctx.bldnode.abspath(), ctx.srcnode.abspath()],
use = "mpv",
features = "c cprogram",