Commit 3b7382d5 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add "control-install" target fto be run on plastic, which will install the

couple of things that need to be over there.
parent b60f8eea
...@@ -20,6 +20,13 @@ post-install: ...@@ -20,6 +20,13 @@ post-install:
@$(MAKE) -C tbsetup post-install @$(MAKE) -C tbsetup post-install
@$(MAKE) -C security post-install @$(MAKE) -C security post-install
#
# For installation on the control node (okay, plastic)
#
control-install:
@$(MAKE) -C tbsetup control-install
@$(MAKE) -C security control-install
install-mkdirs: install-mkdirs:
-mkdir -p $(INSTALL_TOPDIR)/locks -mkdir -p $(INSTALL_TOPDIR)/locks
-mkdir -p $(INSTALL_TOPDIR)/log -mkdir -p $(INSTALL_TOPDIR)/log
......
...@@ -27,12 +27,18 @@ CFLAGS = -O -g \ ...@@ -27,12 +27,18 @@ CFLAGS = -O -g \
suexec: suexec.c suexec.h suexec: suexec.c suexec.h
$(CC) $(CFLAGS) -o suexec suexec.c $(CC) $(CFLAGS) -o suexec suexec.c
install: $(addprefix $(INSTALL_LIBEXECDIR)/, $(BINS)) $(addprefix $(INSTALL_BINDIR)/, paperbag) install: $(addprefix $(INSTALL_LIBEXECDIR)/, $(BINS)) \
$(addprefix $(INSTALL_BINDIR)/, paperbag)
@echo "Don't forget to do a post-install as root" @echo "Don't forget to do a post-install as root"
post-install: post-install:
chown root $(INSTALL_LIBEXECDIR)/suexec chown root $(INSTALL_LIBEXECDIR)/suexec
chmod u+s $(INSTALL_LIBEXECDIR)/suexec chmod u+s $(INSTALL_LIBEXECDIR)/suexec
#
# Control node installation (okay, plastic)
#
control-install: $(addprefix $(INSTALL_BINDIR)/, plasticwrap)
clean: clean:
rm -f *.o $(BINS) core rm -f *.o $(BINS) core
...@@ -72,6 +72,11 @@ post-install: ...@@ -72,6 +72,11 @@ post-install:
chown root $(INSTALL_LIBEXECDIR)/console_setup chown root $(INSTALL_LIBEXECDIR)/console_setup
chmod u+s $(INSTALL_LIBEXECDIR)/console_setup chmod u+s $(INSTALL_LIBEXECDIR)/console_setup
#
# Control node installation (okay, plastic)
#
control-install: $(addprefix $(INSTALL_SBINDIR)/, console_setup.proxy)
clean: subdir-clean clean: subdir-clean
rm -f *.o core tbreport rm -f *.o core tbreport
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment