Commit eac5f25c authored by Robert Ricci's avatar Robert Ricci
Browse files

Added support for making the vis tumbnail directory, and making the

vis prerender step setgid tbvis.
parent da714c3e
...@@ -48,6 +48,8 @@ post-install: ...@@ -48,6 +48,8 @@ post-install:
@$(MAKE) -C tbsetup post-install @$(MAKE) -C tbsetup post-install
@$(MAKE) -C account post-install @$(MAKE) -C account post-install
@$(MAKE) -C security post-install @$(MAKE) -C security post-install
@$(MAKE) -C vis post-install
@$(MAKE) -C www post-install
# #
# For installation on the 'ops' or 'users' node (okay, plastic) # For installation on the 'ops' or 'users' node (okay, plastic)
......
...@@ -28,6 +28,10 @@ install: \ ...@@ -28,6 +28,10 @@ install: \
$(addprefix $(INSTALL_LIBEXECDIR)/, $(LIBEXEC_SCRIPTS)) \ $(addprefix $(INSTALL_LIBEXECDIR)/, $(LIBEXEC_SCRIPTS)) \
$(addprefix $(INSTALL_LIBEXECDIR)/vis/, $(LIBEXEC_VIS)) $(addprefix $(INSTALL_LIBEXECDIR)/vis/, $(LIBEXEC_VIS))
post-install:
chgrp tbvis $(INSTALL_LIBEXECDIR)/vis/prerender
chmod g+s $(INSTALL_LIBEXECDIR)/vis/prerender
$(INSTALL_LIBEXECDIR)/vis/%: % $(INSTALL_LIBEXECDIR)/vis/%: %
@echo "Installing $<" @echo "Installing $<"
-mkdir -p $(INSTALL_LIBEXECDIR)/vis -mkdir -p $(INSTALL_LIBEXECDIR)/vis
......
...@@ -110,6 +110,7 @@ install: $(addprefix $(INSTALL_WWWDIR)/, $(ALLFILES)) \ ...@@ -110,6 +110,7 @@ install: $(addprefix $(INSTALL_WWWDIR)/, $(ALLFILES)) \
$(addprefix $(INSTALL_WWWDIR)/buildui/, $(ALLBUI)) \ $(addprefix $(INSTALL_WWWDIR)/buildui/, $(ALLBUI)) \
$(addprefix $(INSTALL_WWWDIR)/autostatus-icons/, $(ALLICONS)) \ $(addprefix $(INSTALL_WWWDIR)/autostatus-icons/, $(ALLICONS)) \
$(addprefix $(INSTALL_WWWDIR)/cvsweb/, $(ALLCVSWEB)) $(addprefix $(INSTALL_WWWDIR)/cvsweb/, $(ALLCVSWEB))
-mkdir -p -m 771 $(INSTALL_WWWDIR)/thumbs
cd $(INSTALL_WWWDIR) && \ cd $(INSTALL_WWWDIR) && \
if test -d ../webglimpse; \ if test -d ../webglimpse; \
then \ then \
...@@ -123,6 +124,9 @@ install: $(addprefix $(INSTALL_WWWDIR)/, $(ALLFILES)) \ ...@@ -123,6 +124,9 @@ install: $(addprefix $(INSTALL_WWWDIR)/, $(ALLFILES)) \
ln -s /usr/local/www/icons icons; ln -s /usr/local/www/icons icons;
$(INSTALL_CVSWEBCGI) $(INSTALL_CVSWEBCGI)
post-install:
chgrp tbvis $(INSTALL_WWWDIR)/thumbs
$(INSTALL_WWWDIR)/%: % $(INSTALL_WWWDIR)/%: %
@echo "Installing $<" @echo "Installing $<"
-mkdir -p $(patsubst %/,%,$(dir $@)) -mkdir -p $(patsubst %/,%,$(dir $@))
......
Supports Markdown
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