Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use a stamp file to avoid running deploy.sh so many times

  • Loading branch information...
commit f54fc614e055881617e60b981135ededcd0e02ef 1 parent 4151f59
@jaredjennings authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 Makefile
View
7 Makefile
@@ -1,4 +1,4 @@
-all: deploy-enyo-frontend
+all: deploy-enyo-frontend-stamp
install: install-backend install-enyo-frontend
@@ -13,11 +13,12 @@ install-backend: backend/pythonhome
# this target does not actually deploy anything: it creates a dir ready to be
# deployed
-deploy-enyo-frontend:
+deploy-enyo-frontend-stamp: source/* enyo/*
cd tools; ./deploy.sh
cd deploy; ln -sf `ls -1rt | tail -n 1` latest
+ touch $@
-install-enyo-frontend: deploy-enyo-frontend
+install-enyo-frontend: deploy-enyo-frontend-stamp
rm -rf /srv/www/root/sparsam/*
cp -R deploy/latest/* /srv/www/root/sparsam/
Please sign in to comment.
Something went wrong with that request. Please try again.