summaryrefslogtreecommitdiff
path: root/etherpad/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'etherpad/Makefile')
-rw-r--r--etherpad/Makefile27
1 files changed, 0 insertions, 27 deletions
diff --git a/etherpad/Makefile b/etherpad/Makefile
deleted file mode 100644
index aa010d5..0000000
--- a/etherpad/Makefile
+++ /dev/null
@@ -1,27 +0,0 @@
-ETHERPAD_VERSION := 3.3.2
-SRC_DIR := etherpad-$(ETHERPAD_VERSION)
-
-.PHONY: all
-all: download_etherpad install_deps
-
-.PHONY: download_etherpad
-download_etherpad: $(SRC_DIR)
-
-$(SRC_DIR):
- wget -O- https://github.com/ether/etherpad/archive/refs/tags/v3.3.2.tar.gz | tar -xz
-
-.PHONY: install_deps
-install_deps: $(SRC_DIR)/node_modules
-
-$(SRC_DIR)/node_modules: $(SRC_DIR) $(SRC_DIR)/settings.json $(SRC_DIR)/package.json $(SRC_DIR)/pnpm-lock.yaml
- cd $(SRC_DIR) && pnpm install
-
-$(SRC_DIR)/settings.json: $(SRC_DIR) settings.json.template
-ifdef ETHERPAD_PORT
- ETHERPAD_PORT=$(ETHERPAD_PORT) envsubst -no-unset -i settings.json.template -o $(SRC_DIR)/settings.json
-else
- $(error ETHERPAD_PORT is not defined)
-endif
-
-clean:
- rm -rf etherpad-*/