base_role/Makefile

23 lines
486 B
Makefile
Raw Normal View History

2024-01-06 01:38:28 +00:00
# -*-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 $@