Add makefile, put dependencies outside

FossilOrigin-Name: 3dcdfdab2b4af20c1a6aafe3bb9f1fbf64ea0726dd015e2d2c1f8549b58e7001
This commit is contained in:
bohwaz 2022-11-15 11:36:01 +00:00
commit 3d1e9ab1e0
5 changed files with 151 additions and 1624 deletions

14
Makefile Normal file
View file

@ -0,0 +1,14 @@
all: clean index.php
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