2019-12-19 23:01:05 +01:00
|
|
|
BUILDDIR?=./build
|
2023-04-27 14:18:15 +02:00
|
|
|
PROJS?=grs blog talk get info doc
|
2023-04-26 18:51:03 +02:00
|
|
|
# info blog doc talk get
|
|
|
|
copyfiles = layout.ls index.lua mimes.json
|
2019-12-15 12:13:04 +01:00
|
|
|
main: copy
|
2019-12-19 23:01:05 +01:00
|
|
|
for f in $(PROJS); do BUILDDIR=$(BUILDDIR)/"$${f}" make -C "$${f}" ; done
|
2018-02-21 19:04:26 +01:00
|
|
|
|
|
|
|
copy:
|
2022-08-19 15:10:55 +02:00
|
|
|
cp -rfv $(copyfiles) $(BUILDDIR)
|
2023-04-26 18:51:03 +02:00
|
|
|
# cp -rv silk $(BUILDDIR)
|
2018-02-21 19:04:26 +01:00
|
|
|
|
2020-11-19 18:09:39 +01:00
|
|
|
ar:
|
|
|
|
-[ -d /tmp/antd_web_apps ] && rm -r /tmp/antd_web_apps
|
|
|
|
-[ -f /tmp/antd_web_apps.tar.gz ] && rm /tmp/antd_web_apps.tar.gz
|
|
|
|
mkdir /tmp/antd_web_apps
|
|
|
|
BUILDDIR=/tmp/antd_web_apps make
|
|
|
|
cd /tmp/antd_web_apps && tar cvzf ../antd_web_apps.tar.gz .
|
|
|
|
mv /tmp/antd_web_apps.tar.gz dist/
|
|
|
|
|
2018-02-21 19:04:26 +01:00
|
|
|
clean:
|
2019-12-19 23:01:05 +01:00
|
|
|
-for f in $(PROJS); do rm -r $(BUILDDIR)/"$${f}"; done
|
|
|
|
-for f in $(copyfiles); do rm -r $(BUILDDIR)/"$${f}"; done
|