blob: e95b3eba066192549f5de53cf27edbd24712dda1 [file] [log] [blame]
#!/bin/bash
if [ "$1" == "venv" ]
then
python -m pip install --user virtualenv
python -m virtualenv $VENV_DIR
source $VENV_DIR/bin/activate;
pip install -r $DOCS_DIR/etc/requirements.txt
else
source $VENV_DIR/bin/activate;
make -C $DOCS_DIR $1
fi
deactivate