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
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ endif ...@@ -40,7 +40,7 @@ endif
ifdef SYMLINK ifdef SYMLINK
INSBIN := ln -sf INSBIN := ln -sf
else else
INSBIN := cp INSBIN := cp -r
endif endif
ifdef bcc ifdef bcc
...@@ -253,28 +253,31 @@ endif ...@@ -253,28 +253,31 @@ endif
src: $(REPODIR) 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) $(SBBSDIR)/ctrl: $(REPODIR)
cp -r $(REPODIR)/ctrl $(SBBSDIR) cp -r $(REPODIR)/ctrl $(SBBSDIR)
$(SBBSDIR)/docs: $(REPODIR) $(SBBSDIR)/docs: $(REPODIR)
cp -r $(REPODIR)/docs $(SBBSDIR) $(INSBIN) $(REPODIR)/docs $(SBBSDIR)
$(SBBSDIR)/exec: $(REPODIR) $(SBBSDIR)/exec: $(REPODIR)
cp -r $(REPODIR)/exec $(SBBSDIR) $(INSBIN) $(REPODIR)/exec $(SBBSDIR)
$(SBBSDIR)/node1: $(REPODIR) $(SBBSDIR)/node1: $(REPODIR)
cp -r $(REPODIR)/node1 $(SBBSDIR) cp -r $(REPODIR)/node1 $(SBBSDIR)
$(SBBSDIR)/text: $(REPODIR) $(SBBSDIR)/text: $(REPODIR)
cp -r $(REPODIR)/text $(SBBSDIR) $(INSBIN) $(REPODIR)/text $(SBBSDIR)
$(SBBSDIR)/web: $(REPODIR) $(SBBSDIR)/web: $(REPODIR)
cp -r $(REPODIR)/web $(SBBSDIR) $(INSBIN) $(REPODIR)/web $(SBBSDIR)
$(SBBSDIR)/webv4: $(REPODIR)
$(INSBIN) $(REPODIR)/webv4 $(SBBSDIR)
$(SBBSDIR)/xtrn: $(REPODIR) $(SBBSDIR)/xtrn: $(REPODIR)
cp -r $(REPODIR)/xtrn $(SBBSDIR) $(INSBIN) $(REPODIR)/xtrn $(SBBSDIR)
$(SBBSDIR): $(SBBSDIR):
@[ ! -e $(SBBSDIR) ] && mkdir $(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