Commit 5af0a12d authored by Mike Hibler's avatar Mike Hibler

Add a force-install target to get around the annoying problem of files

not getting updated if you bring in a source tree with older timestamps.
parent a7b5c3d9
......@@ -164,7 +164,7 @@ ALLHY = $(notdir $(HYFILES))
ALLSDR = $(notdir $(SDRFILES))
ALLROBO = $(notdir $(ROBOTRACKFILES))
install: $(addprefix $(INSTALL_SBINDIR)/, htmlinstall) \
INSTALLFILES = $(addprefix $(INSTALL_SBINDIR)/, htmlinstall) \
$(addprefix $(INSTALL_WWWDIR)/, $(ALLFILES)) \
$(addprefix $(INSTALL_WWWDIR)/floormap/, $(ALLFLOORMAPS)) \
$(addprefix $(INSTALL_WWWDIR)/pix/, $(ALLPIXES)) \
......@@ -184,6 +184,8 @@ install: $(addprefix $(INSTALL_SBINDIR)/, htmlinstall) \
$(addprefix $(INSTALL_DIR)/opsdir/www/cvsweb/, $(ALLOPSCVSWEB)) \
$(INSTALL_WWWDIR)/doc/LICENSE.txt \
$(addprefix $(INSTALL_ETCDIR)/, swish.conf)
install: $(INSTALLFILES)
(swish-e -c ./swish.conf)
cd $(INSTALL_WWWDIR) && \
rm -f tbdb.html; \
......@@ -202,6 +204,11 @@ post-install:
boss-install: install
uninstall:
rm -f $(INSTALLFILES)
force-install: uninstall install
$(INSTALL_WWWDIR)/doc/LICENSE.txt: $(TESTBED_SRCDIR)/LICENSE
@echo "Installing $<"
-mkdir -p $(patsubst %/,%,$(dir $@))
......
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