mirror of
https://github.com/lxsang/antd-web-apps
synced 2025-07-17 06:09:50 +02:00
update makefiles
This commit is contained in:
9
Makefile
9
Makefile
@ -1,13 +1,14 @@
|
||||
BUILDDIR = ./build
|
||||
projs = grs info blog apps os
|
||||
BUILDDIR?=./build
|
||||
PROJS?=grs info blog apps os
|
||||
copyfiles = index.ls mimes.json
|
||||
main: copy
|
||||
for f in $(projs); do make -C "$${f}" ; done
|
||||
for f in $(PROJS); do BUILDDIR=$(BUILDDIR)/"$${f}" make -C "$${f}" ; done
|
||||
|
||||
copy:
|
||||
cp -rf $(copyfiles) $(BUILDDIR)
|
||||
cp -r silk $(BUILDDIR)
|
||||
|
||||
clean:
|
||||
-for f in $(projs); do rm -r $(BUILDDIR)/"$${f}"; done
|
||||
-for f in $(PROJS); do rm -r $(BUILDDIR)/"$${f}"; done
|
||||
-for f in $(copyfiles); do rm -r $(BUILDDIR)/"$${f}"; done
|
||||
-rm -r $(BUILDDIR)/silk
|
Reference in New Issue
Block a user