GNUmakefile.in 1.07 KB
Newer Older
1
2
#
# EMULAB-COPYRIGHT
3
# Copyright (c) 2009-2012 University of Utah and the Flux Group.
4
5
6
7
8
9
10
11
12
13
14
# All rights reserved.
#

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

include $(OBJDIR)/Makeconf

CGI_SCRIPTS = fetch-vis
Kevin Atkinson's avatar
Rename:    
Kevin Atkinson committed
15
16
LIBEXEC_SCRIPTS = write-vis-auth
CTRL_LIBEXEC_SCRIPTS = write-vis-auth.proxy
17

18
SETUID_SUEXEC_SCRIPTS = write-vis-auth
19
20
21
22
23

#
# Force dependencies on the scripts so that they will be rerun through
# configure if the .in file is changed.
# 
24
all:	$(CGI_SCRIPTS) $(LIBEXEC_SCRIPTS) $(CTRL_LIBEXEC_SCRIPTS) 
25
26
27
28

include $(TESTBED_SRCDIR)/GNUmakerules

install: \
29
30
31
	$(addprefix $(INSTALL_LIBEXECDIR)/, $(LIBEXEC_SCRIPTS)) \
	$(addprefix $(TBROOT)/opsdir/www/cgi-bin/, $(CGI_SCRIPTS)) \
	$(addprefix $(INSTALL_DIR)/opsdir/libexec/, $(CTRL_LIBEXEC_SCRIPTS))
32
33
34
35
36

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

Kevin Atkinson's avatar
Rename:    
Kevin Atkinson committed
37
$(INSTALL_DIR)/opsdir/libexec/write-vis-auth.proxy: write-vis-auth.proxy
38
39
40
	-mkdir -p $(INSTALL_DIR)/opsdir/libexec
	$(INSTALL) $< $@

41
42
43
44
post-install:

clean: