aboutsummaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2021-01-28 04:06:37 +0000
committerKyle Evans <kevans@FreeBSD.org>2021-01-29 03:15:10 +0000
commit98844c28f4f56a39dce244cad5a72b5b9deb7e02 (patch)
tree4f818a20b55f97b0b8b1f6b378d76f32dc6b396e /website
parentb9a98e5a01d9d1867dd1de172be1fe0357429534 (diff)
downloaddoc-98844c28f4f56a39dce244cad5a72b5b9deb7e02.tar.gz
doc-98844c28f4f56a39dce244cad5a72b5b9deb7e02.zip
build: replace move-shared/copy-shared with a symlink
The build should strive to not write to the shared space, so symlink these back to the one copy and remove the prep work needed. Reviewed-by: gjb, hrs Differential-Revision: https://reviews.freebsd.org/D28381
Diffstat (limited to 'website')
-rw-r--r--website/.gitignore3
-rw-r--r--website/Makefile5
l---------website/shared1
3 files changed, 1 insertions, 8 deletions
diff --git a/website/.gitignore b/website/.gitignore
index 22591f65b4..0bba3cc84e 100644
--- a/website/.gitignore
+++ b/website/.gitignore
@@ -2,9 +2,6 @@
/public
resources
-# Shared folder
-/shared
-
# Autogenerated content
/data/releases.toml
diff --git a/website/Makefile b/website/Makefile
index 71445c4f05..96d0070c5a 100644
--- a/website/Makefile
+++ b/website/Makefile
@@ -7,7 +7,6 @@
#
# all (default) - generate the releases.toml and compile all the website
# generate - generate the releases.toml and build all the website
-# copy-shared - move the shared AsciiDoc entities to the folder project
MAINTAINER=carlavilla@FreeBSD.org
@@ -16,7 +15,6 @@ HUGO_CMD = /usr/local/bin/hugo
all: starting-message generate-releases run
generate: starting-message generate-releases build
-copy-shared: move-shared
starting-message:
@echo ---------------------------------------------------------------
@@ -31,6 +29,3 @@ run:
build:
${HUGO_CMD}
-
-move-shared:
- cp -R ../shared ./shared
diff --git a/website/shared b/website/shared
new file mode 120000
index 0000000000..8fba6b66ae
--- /dev/null
+++ b/website/shared
@@ -0,0 +1 @@
+../shared \ No newline at end of file