2022-11-15 12:36:01 +01:00
|
|
|
all: clean index.php
|
2023-12-31 16:59:19 +01:00
|
|
|
KD2FW_URL := https://fossil.kd2.org/kd2fw/doc/trunk/src/lib/KD2/
|
2022-11-15 12:36:01 +01:00
|
|
|
|
|
|
|
deps:
|
|
|
|
@-mkdir -p lib/KD2/WebDAV
|
|
|
|
wget -O lib/KD2/WebDAV/Server.php '${KD2FW_URL}WebDAV/Server.php'
|
|
|
|
wget -O lib/KD2/WebDAV/AbstractStorage.php '${KD2FW_URL}WebDAV/AbstractStorage.php'
|
|
|
|
wget -O webdav.js https://raw.githubusercontent.com/kd2org/webdav-manager.js/main/webdav.js
|
|
|
|
wget -O webdav.css https://raw.githubusercontent.com/kd2org/webdav-manager.js/main/webdav.css
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f index.php
|
|
|
|
|
|
|
|
index.php:
|
|
|
|
php make.php
|