All pastes #419171 Raw Edit

Someone

public text v1 · immutable
·published 2007-04-01 03:26 UTC
rendered paste body
TESTOPTS=PREFIX=/usr PREFIX_CONF=/etc SKIPPLUGINS=System CHMDOCS=no
OPTS=SKIPDOC=COPYING

all: clean build test install

clean:
        scons -c $(TESTOPTS) $(OPTS) $* 2>&1 | tee logs/clean

build:
        scons $(TESTOPTS) $(OPTS) $* 2>&1 | tee logs/build

test:
        scons $(TESTOPTS) $* test -k 2>&1 | tee logs/test || true

install:
        rm -rf install
        scons $(TESTOPTS) $(OPTS) $* PREFIX_DEST=$(pwd)/install install 2>&1 | tee logs/install

winetest:
        set -ex
        export WINEPREFIX=$(pwd)/.wine/
        rm -rf $WINEPREFIX
        wineprefixcreate
        find .test/Examples/ -iname *.exe ! -iname bigtest.exe ! -iname 'BgImage Test.exe' -print0 | xargs -0 -n 1 wine

.PHONY: clean build test install winetest