Remove sync target.

This commit is contained in:
Nicolás A. Ortega Froysa 2022-10-15 16:33:21 +02:00
parent c7b5ea40cc
commit f69d1ef8f4

View File

@ -1,7 +1,7 @@
OUTPUT_DIR=./output OUTPUT_DIR=./output
WEB_ROOT=/var/www/themusicinnoise.net/main WEB_ROOT=/var/www/themusicinnoise.net/main
.PHONY: all pages blog sync clean install .PHONY: all pages blog clean install
all: pages blog all: pages blog
cp -r static/* $(OUTPUT_DIR) cp -r static/* $(OUTPUT_DIR)
@ -17,9 +17,6 @@ blog:
cat blog/templates/index.html/footer-part.html templates/page/footer.html > blog/templates/index.html/footer.html cat blog/templates/index.html/footer-part.html templates/page/footer.html > blog/templates/index.html/footer.html
find blog/posts -type f -name '*.cfg' -print0 | sort -zr | xargs -0 saait -o $(OUTPUT_DIR)/blog/ -t blog/templates/ find blog/posts -type f -name '*.cfg' -print0 | sort -zr | xargs -0 saait -o $(OUTPUT_DIR)/blog/ -t blog/templates/
sync: all
rsync -avz --delete $(OUTPUT_DIR)/ nicolas@192.168.1.141::tmin-site
clean: clean:
rm -rf $(OUTPUT_DIR) rm -rf $(OUTPUT_DIR)
rm -f blog/templates/index.html/header.html rm -f blog/templates/index.html/header.html