GNUmakefile.in 668 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
#
# EMULAB-COPYRIGHT
# Copyright (c) 2009 University of Utah and the Flux Group.
# All rights reserved.
#

SRCDIR		= @srcdir@
TESTBED_SRCDIR	= @top_srcdir@
OBJDIR		= ../..
SUBDIR		= collab/exp-vis

include $(OBJDIR)/Makeconf

CGI_SCRIPTS = fetch-vis

#
# Force dependencies on the scripts so that they will be rerun through
# configure if the .in file is changed.
# 
all:	$(CGI_SCRIPTS)

include $(TESTBED_SRCDIR)/GNUmakerules

install: \
	$(addprefix $(TBROOT)/opsdir/www/cgi-bin/, $(CGI_SCRIPTS))

$(TBROOT)/opsdir/www/cgi-bin/fetch-vis: fetch-vis
	-$(SUDO) mkdir -m 775 $(TBROOT)/opsdir/www/cgi-bin
	$(SUDO) $(INSTALL) -o root -m 4775 $< $@

post-install:

clean: