summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-02-27 11:31:20 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2013-02-27 11:31:20 +0000
commit1805cfc0714868ac43ae1bda2b53fd511d19535e (patch)
treead34fa40d21aff0e71de64dc7f57243ccf9365ad
parentfe0a82d7ec96debd368817adce8ef64639633d3f (diff)
downloadtrove-setup-1805cfc0714868ac43ae1bda2b53fd511d19535e.tar.gz
trove-early-setup: Add .PHONY rules for non-files
-rwxr-xr-xbins/trove-early-setup5
1 files changed, 5 insertions, 0 deletions
diff --git a/bins/trove-early-setup b/bins/trove-early-setup
index 5365117..1644cfe 100755
--- a/bins/trove-early-setup
+++ b/bins/trove-early-setup
@@ -5,6 +5,7 @@ all: substitutions-done gitano-configured lorry-configured cache-configured maso
USERS := git lorry cache
+.PHONY: substitutions-done
substitutions-done: /etc/trove-setup.sed hostname-not-baserock
sed -f /etc/trove-setup.sed -i \
/usr/share/gitano/skel/gitano-admin/*/*.lace \
@@ -56,6 +57,7 @@ $(eval $(foreach USER,$(USERS),$(call make_user_rules,$(USER))))
su -c 'ssh git@localhost as lorry sshkey add trove < /tmp/lorry.pub' - git
rm /tmp/lorry.pub
+.PHONY: gitano-configured
gitano-configured: /home/git/.gitano-setup
/home/lorry/.lorry-setup: $(ALL_USER_TARGETS)
@@ -76,6 +78,7 @@ gitano-configured: /home/git/.gitano-setup
su -c "echo '*/1 * * * * flock -x -n /home/lorry/lorry-controller-area/lockfile -c lorry-controller --work-area=/home/lorry/lorry-controller-area --log=syslog --log-level=info --html-file=/home/lorry/lc-status.html' | crontab -" - lorry
touch $@
+.PHONY: lorry-configured
lorry-configured: /home/lorry/.lorry-setup /home/lorry/.lorry-controller-setup
/home/cache/.cache-setup: $(ALL_USER_TARGETS)
@@ -86,6 +89,7 @@ lorry-configured: /home/lorry/.lorry-setup /home/lorry/.lorry-controller-setup
systemctl start nfs-server.service
touch $@
+.PHONY: cache-configured
cache-configured: /home/cache/.cache-setup
/home/git/.mason-setup: /home/git/.gitano-setup $(ALL_USER_TARGETS)
@@ -97,4 +101,5 @@ cache-configured: /home/cache/.cache-setup
su -c "cd /tmp/mason-config; git add ci1; git commit -m 'Set initial Mason config'; git push origin master" - git
su -c "rm -fr /tmp/mason-config" - git
+.PHONY: mason-configured
mason-configured: /home/git/.mason-setup