2022-11-15 11:36:02 +00:00
|
|
|
all: clean index.php
|
2023-12-31 15:59:19 +00:00
|
|
|
KD2FW_URL := https://fossil.kd2.org/kd2fw/doc/trunk/src/lib/KD2/
|
2022-11-15 11:36:02 +00: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
|