Add install target.

This commit is contained in:
Nicolás A. Ortega Froysa 2022-10-15 16:32:58 +02:00
parent 8829b7d245
commit c7b5ea40cc

View File

@ -1,6 +1,7 @@
OUTPUT_DIR=./output OUTPUT_DIR=./output
WEB_ROOT=/var/www/themusicinnoise.net/main
.PHONY: all pages blog sync clean .PHONY: all pages blog sync clean install
all: pages blog all: pages blog
cp -r static/* $(OUTPUT_DIR) cp -r static/* $(OUTPUT_DIR)
@ -23,3 +24,7 @@ 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
rm -f blog/templates/index.html/footer.html rm -f blog/templates/index.html/footer.html
install: all
mkdir -p
cp -r $(OUTPUT_DIR)/* $(WEB_ROOT)/