# # EMULAB-COPYRIGHT # Copyright (c) 2009 University of Utah and the Flux Group. # All rights reserved. # SRCDIR = @srcdir@ TESTBED_SRCDIR = @top_srcdir@ OBJDIR = .. SUBDIR = node_usage include $(OBJDIR)/Makeconf LIBEXEC_NODE_USAGE = analy mk-plots refresh analy2 gather publish mk-php-pages get-start-date # # These are Utah emulab specific # NODE_USAGE_OTHER = from_ptop sanity # # Force dependencies on the scripts so that they will be rerun through # configure if the .in file is changed. # all: $(LIBEXEC_NODE_USAGE) include $(TESTBED_SRCDIR)/GNUmakerules install: \ $(addprefix $(INSTALL_LIBEXECDIR)/node_usage/, $(LIBEXEC_NODE_USAGE)) post-install: $(INSTALL_LIBEXECDIR)/node_usage/%: % @echo "Installing $<" sudo mkdir -p @prefix@/data/node_usage sudo chmod 775 @prefix@/data/node_usage -mkdir -p $(INSTALL_LIBEXECDIR)/node_usage $(INSTALL) $< $@ clean: