Skip to content
Snippets Groups Projects
Commit 0a30202c authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Install webv4 too and use symlinks for most directories.

The webv4 directory is now part of the repo, so install it to the
install target directory too.

When SYMLINK=1 is used, symlink the following directories (rather
than copying): docs, exec, text, web, webv4, and xtrn. This will
hopefully make subsequenit updating (via git) easier for most sysops that use
this installation method. Let the merge conflicts insue.
parent 6ce953fe
Branches
Tags
No related merge requests found
......@@ -40,7 +40,7 @@ endif
ifdef SYMLINK
INSBIN := ln -sf
else
INSBIN := cp
INSBIN := cp -r
endif
ifdef bcc
......@@ -253,28 +253,31 @@ endif
src: $(REPODIR)
run: $(SBBSDIR)/ctrl $(SBBSDIR)/docs $(SBBSDIR)/exec $(SBBSDIR)/node1 $(SBBSDIR)/text $(SBBSDIR)/web $(SBBSDIR)/xtrn
run: $(SBBSDIR)/ctrl $(SBBSDIR)/docs $(SBBSDIR)/exec $(SBBSDIR)/node1 $(SBBSDIR)/text $(SBBSDIR)/web $(SBBSDIR)/webv4 $(SBBSDIR)/xtrn
$(SBBSDIR)/ctrl: $(REPODIR)
cp -r $(REPODIR)/ctrl $(SBBSDIR)
$(SBBSDIR)/docs: $(REPODIR)
cp -r $(REPODIR)/docs $(SBBSDIR)
$(INSBIN) $(REPODIR)/docs $(SBBSDIR)
$(SBBSDIR)/exec: $(REPODIR)
cp -r $(REPODIR)/exec $(SBBSDIR)
$(INSBIN) $(REPODIR)/exec $(SBBSDIR)
$(SBBSDIR)/node1: $(REPODIR)
cp -r $(REPODIR)/node1 $(SBBSDIR)
$(SBBSDIR)/text: $(REPODIR)
cp -r $(REPODIR)/text $(SBBSDIR)
$(INSBIN) $(REPODIR)/text $(SBBSDIR)
$(SBBSDIR)/web: $(REPODIR)
cp -r $(REPODIR)/web $(SBBSDIR)
$(INSBIN) $(REPODIR)/web $(SBBSDIR)
$(SBBSDIR)/webv4: $(REPODIR)
$(INSBIN) $(REPODIR)/webv4 $(SBBSDIR)
$(SBBSDIR)/xtrn: $(REPODIR)
cp -r $(REPODIR)/xtrn $(SBBSDIR)
$(INSBIN) $(REPODIR)/xtrn $(SBBSDIR)
$(SBBSDIR):
@[ ! -e $(SBBSDIR) ] && mkdir $(SBBSDIR);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment