2019-12-19 23:01:05 +01:00
|
|
|
BUILDDIR?=./build
|
2020-06-25 21:55:55 +02:00
|
|
|
PROJS?=grs info blog apps os doc ci
|
2018-09-15 21:35:07 +02:00
|
|
|
copyfiles = index.ls 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:
|
|
|
|
cp -rf $(copyfiles) $(BUILDDIR)
|
2018-08-23 11:15:08 +02:00
|
|
|
cp -r silk $(BUILDDIR)
|
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
|
2018-08-23 11:15:08 +02:00
|
|
|
-rm -r $(BUILDDIR)/silk
|