Commit 7e900faf authored by Leigh Stoller's avatar Leigh Stoller

Add tipserv-install target which installs bare minimum for a tip server

machine.
parent 46a982a0
......@@ -15,6 +15,7 @@ all: all-subdirs
install:
@echo "Choose either boss-install (paper) or ops-install (plastic)"
@echo "Choose tipserv-install for dedicated tip server machines."
#
# For installation on boss node (okay, paper).
......@@ -50,6 +51,12 @@ install-mkdirs:
-mkdir -p $(INSTALL_TOPDIR)/expinfo
-chmod 777 $(INSTALL_TOPDIR)/expinfo
tipserv-install:
-mkdir -p $(INSTALL_TOPDIR)/log/tiplogs
@$(MAKE) -C tip tipserv-install
@$(MAKE) -C capture tipserv-install
@$(MAKE) -C tbsetup tipserv-install
clean: clean-subdirs
distclean: distclean-subdirs
rm -f Makeconf GNUmakefile config.status config.cache config.log
......
......@@ -27,11 +27,15 @@ capserver: capserver.c capdecls.h
-L/usr/local/lib/mysql -lmysqlclient
#
# Do not install by default.
# Do not capture install by default.
#
install:
install: all $(INSTALL_SBINDIR)/capserver
real-install: all $(INSTALL_SBINDIR)/capserver
install -s capture $(DESTDIR)/usr/site/bin
tipserv-install: all
install -s capture $(DESTDIR)/usr/site/bin
clean:
rm -f *.o capture core errs Errs
......@@ -94,6 +94,11 @@ control-install: $(addprefix $(INSTALL_SBINDIR)/, console_setup.proxy) \
ln -s plasticwrap $$file; \
done;
#
# Tip servers get very little
#
tipserv-install: $(addprefix $(INSTALL_SBINDIR)/, console_setup.proxy)
clean: subdir-clean
rm -f *.o core
......
......@@ -24,7 +24,7 @@ tip: $(OBJS)
$(OBJS): tipconf.h tip.h
install: all $(INSTALL_BINDIR)/tip
control-install tipserv-install install: all $(INSTALL_BINDIR)/tip
clean:
rm -f $(OBJS) tip
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