Skip to content
Snippets Groups Projects
  • Mark Olesen's avatar
    3bbd01eb
    minor changes to Allwmake script(s) · 3bbd01eb
    Mark Olesen authored
      * use $WM_THIRD_PARTY_DIR variable in top-level Allwmake
      * test new shell idiom for Allwmake files:
            # run from this directory only
            cd ${0%/*} || exit 1
        this might be especially useful when building optional components
    3bbd01eb
    History
    minor changes to Allwmake script(s)
    Mark Olesen authored
      * use $WM_THIRD_PARTY_DIR variable in top-level Allwmake
      * test new shell idiom for Allwmake files:
            # run from this directory only
            cd ${0%/*} || exit 1
        this might be especially useful when building optional components
Allwmake 287 B
#!/bin/sh
set -x

# run from this directory only
cd ${0%/*} || exit 1

# wmake is required for subsequent targets
(cd wmake/src && make)

(cd $WM_THIRD_PARTY_DIR && ./Allwmake)

(cd src && ./Allwmake)

(cd applications && ./Allwmake)

if [ "$1" = doc ]
then
   (cd doc && ./Allwmake)
fi