GNUmakefile.in 838 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
#
# 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 $<"
	-mkdir -p @prefix@/data/node_usage
	-mkdir -p $(INSTALL_LIBEXECDIR)/node_usage
	$(INSTALL) $< $@

clean: