base_role/Makefile

25 lines
505 B
Makefile

# -*-mode: makefile; fill-column: 75; tab-width: 8; coding: utf-8-unix -*-
ROLE=base
PREFIX=/usr/local
USER=`grep PRIV_SKEL_USERS_LIST /usr/local/etc/testforge/testforge.bash|sed -e 's/.*=//' -e 's/"//g'`
WD=${PWD}
daily:: refresh
refresh:: check lint
weekly:: update
update:: test
check::
sudo -u ${USER} /var/local/src/var_local_$(ROLE).bash $@
lint::
sudo -u ${USER} /var/local/src/var_local_$(ROLE).bash $@
test::
sudo -u ${USER} /var/local/src/var_local_$(ROLE).bash $@
up::
sh .rsync.sh