summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVictor Toso <victortoso@redhat.com>2015-11-04 13:04:39 +0100
committerVictor Toso <victortoso@redhat.com>2015-11-04 13:04:39 +0100
commitc75fb2e0f5dfac8e62a6ffdbc91531c8cee575f3 (patch)
tree0a15bea3412953bb9417b51048276930c211f245 /Makefile
parent3e0a6018fd1ac555fe18e907994dc13e5b2651a8 (diff)
Makefile: link to index should be relative
Otherwise when publishing the content it would fail due absolute path of other's machine.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 141c980..0e12f15 100644
--- a/Makefile
+++ b/Makefile
@@ -63,7 +63,7 @@ help:
html:
$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS)
- ln -sf $(OUTPUTDIR)/home.html $(OUTPUTDIR)/index.html
+ ln -srf $(OUTPUTDIR)/home.html $(OUTPUTDIR)/index.html
cp -r $(BASEDIR)/content-extra/* $(OUTPUTDIR)
clean:
@@ -100,7 +100,7 @@ stopserver:
publish:
$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS)
- ln -sf $(OUTPUTDIR)/home.html $(OUTPUTDIR)/index.html
+ ln -srf $(OUTPUTDIR)/home.html $(OUTPUTDIR)/index.html
cp -r $(BASEDIR)/content-extra/* $(OUTPUTDIR)
ssh_upload: publish