diff --git a/apps/Makefile b/apps/Makefile index 5cd96dc..2f255ea 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -13,8 +13,8 @@ endif main: js - mkdir -p $(BUILDDIR)/assets - cp -rf $(copyfiles) $(BUILDDIR) - cp -r assets/css assets/scripts $(BUILDDIR)/assets + cp -rvf $(copyfiles) $(BUILDDIR) + cp -rv assets/css assets/scripts $(BUILDDIR)/assets - cd $(BUILDDIR) && ln -s ../grs ./rst js: diff --git a/blog/Makefile b/blog/Makefile index 8f11063..fea52af 100644 --- a/blog/Makefile +++ b/blog/Makefile @@ -2,6 +2,5 @@ copyfiles = assets views models controllers router.lua main: - mkdir $(BUILDDIR) - - cp -rf $(copyfiles) $(BUILDDIR) + cp -rvf $(copyfiles) $(BUILDDIR) - cd $(BUILDDIR) && ln -s ../grs ./rst - \ No newline at end of file diff --git a/get/Makefile b/get/Makefile index 4e6eb2b..8babb5a 100644 --- a/get/Makefile +++ b/get/Makefile @@ -1,5 +1,5 @@ copyfiles = router.lua shs main: - mkdir -p $(BUILDDIR) - cp -rf $(copyfiles) $(BUILDDIR) + cp -rvf $(copyfiles) $(BUILDDIR) - cd $(BUILDDIR) && ln -s ../grs ./rst \ No newline at end of file diff --git a/grs/Makefile b/grs/Makefile index acb00a1..c48c4c0 100644 --- a/grs/Makefile +++ b/grs/Makefile @@ -1,10 +1,6 @@ -BUILDDIR = ../build/grs - copyfiles = katex font-awesome.css fonts images sendmail.lua subscribe.lua subscribe.html main.js ubuntu-regular.css mainsite.css sendto.html hermit-light.css hljs main: - mkdir $(BUILDDIR) - cp -rf $(copyfiles) $(BUILDDIR) - - cd $(BUILDDIR) && ln -s ../os/resources ./resources && ln -s ../os/scripts/ ./gscripts -clean: - rm -rf $(BUILDDIR)/* \ No newline at end of file + cp -rvf $(copyfiles) $(BUILDDIR) + - cd $(BUILDDIR) && ln -s ../os/resources ./resources && ln -s ../os/scripts/ ./gscripts \ No newline at end of file diff --git a/info/Makefile b/info/Makefile index 6c67172..0e56e7a 100644 --- a/info/Makefile +++ b/info/Makefile @@ -2,5 +2,5 @@ copyfiles = style.css router.lua models views controllers robot.txt main: - mkdir $(BUILDDIR) - cp -rf $(copyfiles) $(BUILDDIR) + cp -rvf $(copyfiles) $(BUILDDIR) - cd $(BUILDDIR) && ln -s ../grs ./rst \ No newline at end of file diff --git a/os/Makefile b/os/Makefile index 2c845ea..10bba26 100644 --- a/os/Makefile +++ b/os/Makefile @@ -1,6 +1,6 @@ -copyfiles = views models controllers logs libs router.lua +copyfiles = controllers libs router.lua main: - mkdir $(BUILDDIR) - - cp -rfv $(copyfiles) $(BUILDDIR) + cp -rfv $(copyfiles) $(BUILDDIR) - cd $(BUILDDIR) && ln -s ../grs ./rst \ No newline at end of file