commit 0c7c28ba62c7a1f2ace9c633586ec004051ff9a2 parent ced7757630eab7ecca0f45f7b0879725b51db775 Author: massi <git@massi.world> Date: Wed, 5 Mar 2025 20:28:08 -0800 update makefile Diffstat:
M | Makefile | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile @@ -38,12 +38,12 @@ $(SB): $(SB_CLJ_FILES) | build/swatchbuckler.massi.world build/massi.world: $(MW_STATIC_FILES) build/common mkdir -p $@ cp -r site/static/* $@ - cd $@ && ln -s ../common/* . || echo "its ok" + cd $@ && cp -r ../common/* . || echo "its ok" $(call touch_dir,$@) build/swatchbuckler.massi.world: build/common mkdir -p $@ - cd $@ && ln -s ../common/* . || echo "its ok" + cd $@ && cp -r ../common/* . || echo "its ok" $(call touch_dir,$@) build/common: $(SHARED_FILES) @@ -60,6 +60,8 @@ serve: publish: build rsync -rl --delete build/ "mw:/home/protected/builds/massi-world" + ssh mw cp -r /home/protected/builds/massi-world/massi.world /home/public/test-massi.world + ssh mw cp -r /home/protected/builds/massi-world/swatchbuckler.massi.world /home/public/test-swatchbuckler.massi.world clean: rm -r build